lua-users home
lua-l archive

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


> If the DLL you want to package are Lua binary modules, you can also
> statically link them in your executable, and with the help of the
> preload searcher it will be transparent to your application and other
> Lua modules (ie. you will still load them through require).

Just for the record: this works transparently if luaopen_xxx in your C module
calls luaL_register with a non-null name, because luaL_register then sets
the corresponding field in package.loaded.