Lua.NET
Lua.NET copied to clipboard
`luaL_register` bad function signature(?)
luaL_register takes a single luaL_Reg parameter instead of an array of these objects.
I believe it's supposed to take an array of luaL_Regs or a pointer to that array, as luajit shows it https://github.com/LuaJIT/LuaJIT/blob/fdf2379ccba1eb68ff07f8bc48541568f5bbdfbf/src/lib_aux.c#L144