Re: Lua wrappers[still no answer]
- Posted by Alex Chamberlain <alex.chamberlain at tiscali.co.uk> Dec 18, 2005
- 529 views
why do you need to write a separate function? Can't you just write:
atom Shell32 if platform() = WIN32 then Shell32 = open_dll("shell32.dll") elsif platform() = LINUX then Shell32 = open_dll("shell32.so") else puts(1, "This is DOS32 output") end if
Or similar - i don't know what the libraries are actually supposed to do! Alex