From 537f7efb6d0af46e004e521638a6aac0228ceb26 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Sat, 2 Aug 2008 23:54:50 +0000 Subject: [PATCH] Attempt to make auxlib cross platform. Does this still work in windows? --- src/auxlib.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/auxlib.lua b/src/auxlib.lua index c3c63e68..d1f38971 100644 --- a/src/auxlib.lua +++ b/src/auxlib.lua @@ -1,9 +1,11 @@ -- this includes the iup system -local iuplua_open = package.loadlib("iuplua51.dll", "iuplua_open"); +require("libiuplua51") +-- local iuplua_open = package.loadlib("iuplua51.dll", "iuplua_open"); iuplua_open(); -- this includes the "special controls" of iup (dont change the order though) -local iupcontrolslua_open = package.loadlib("iupluacontrols51.dll", "iupcontrolslua_open"); +require("libiupluacontrols51") +-- local iupcontrolslua_open = package.loadlib("iupluacontrols51.dll", "iupcontrolslua_open"); iupcontrolslua_open(); -- callback function to clean up our mess