lua-users home
lua-l archive

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


> l = require "mylib"

It seems that calling package.loadlib('./mylib.so','*') inside
luaopen_mylib does not work because ./mylib.so has already been loaded
via require: the load options only apply when the library is first
loaded; this is why works.lua succeeds.