-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Continuing from #3 (comment)
the current version of the library won't work in Lua > 5.1; for one, it uses C API functions that were removed in 5.2 (e.g. lua_getfenv/lua_setfenv).
Your uses should be simple enough to replace with lua_getuservalue.
FWIW, I write my C libraries in 5.2 style, and get them to work in 5.1+luajit with compat-5.2, it works out quite well :)
Metadata
Metadata
Assignees
Labels
No labels