lua-users home
lua-l archive

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


> Is it valid to register addition function afterward by calling a second time
> luaL_setfuncs() on the same time ?

Yes. See https://www.lua.org/source/5.3/lauxlib.c.html#luaL_setfuncs

> Same question with luaL_register() on 5.1 :)

Yes. See https://www.lua.org/source/5.1/lauxlib.c.html#luaI_openlib
though it's harder to follow.