On Jan 21, 2008 9:24 AM, Ryan Pusztai <[EMAIL PROTECTED]> wrote: > > On Jan 21, 2008 8:46 AM, Leslie Newell <[EMAIL PROTECTED]> wrote: > > By the way, might > > it be better to call it wxlua.dll instead of wx.dll? > > > > Well the way that Lua "require()" works would make it so that you need to > require wxLua and then I think the wx.xxx won't work anymore.
Right, require("wx") looks for the shared library wx.so/dll, a function called "int luaopen_wx(lua_State *L)" in that library, and implies that a table named "wx" will have things loaded into it. It would be nice to call it "wxlua.so/dll" to really ensure uniqueness, but I think it's ok as is for now. Regards, John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users