lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


No. 
tolua generates different function names for different packages.
In the new version (5.1), tolua generates and exposes two open functions:

- tolua_packagename_open: similar to function generated by the previous version
- luaopen_packagename: in accordance with the package module of Lua 5.1

-- waldemar

On Aug 8, 2007, at 8:26 PM, L-28C wrote:

Hello everyone!

Hey, I remember toLua used to give stuff like 'tolua_package_open(...)', but now it just gives out 'tolua__open(...)'...

I have multiple bindings, so of course that latter function will be defined more than once... :-/

What's the magic trick to get the former instead? Thanks!


-- waldemar