From fa92fce5f34ed58c5d172c8d4e1fa804d6e44f58 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Sun, 3 Aug 2008 00:16:45 +0000 Subject: [PATCH] test commit of auxlib --- src/auxlib.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auxlib.lua b/src/auxlib.lua index 76e7b931..b09b60aa 100644 --- a/src/auxlib.lua +++ b/src/auxlib.lua @@ -1,11 +1,11 @@ -- this includes the iup system local iuplua_open = package.loadlib("iuplua51.dll", "iuplua_open"); -if(iuplua_open == nil) then iuplua_open = package.loadlib("libiuplua51.so", "iuplua_open"); end +if(iuplua_open == nil) then require("libiuplua51"); end iuplua_open(); -- this includes the "special controls" of iup (dont change the order though) local iupcontrolslua_open = package.loadlib("iupluacontrols51.dll", "iupcontrolslua_open"); -if(iupcontrolslua_open == nil) then iuplua_open = package.loadlib("iupluacontrols51.so", "iupcontrolslua_open"); end +if(iupcontrolslua_open == nil) then require("libiupluacontrols51"); end iupcontrolslua_open(); -- callback function to clean up our mess