[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re:
- From: "pan shizhu" <pan.shizhu@...>
- Date: Tue, 25 Nov 2008 15:46:05 +0800
This is documented here: http://www.lua.org/pil/8.2.html
On Tue, Nov 25, 2008 at 1:20 PM, Raúl Huertas <firstname.lastname@example.org>
I'm starting with lua and i'm very excited learning the C API. Now I know how to load my functions and use them in a lua program, but...
I0ve just installed wxWidget and it creates a .so called wx.so. SO when in lua, the standalone interpreter, finds 'require("wx")' laods that library automatically. How this can be done? is there any special function to create in that shared library? a lua_openlib(). How the module get loaded automatically?
Connect to the next generation of MSN Messenger Get it now!