lunarmodules/lua-compat-5.3

luaL_loadbufferx

daurnimator opened this issue · 1 comments

The mode check can be implemented by checking if first character is \x1b. (that's what lua does internally via LUA_SIGNATURE[0]: http://www.lua.org/source/5.1/ldo.c.html#f_parser http://www.lua.org/source/5.3/ldo.c.html#f_parser)

Related to ThePhD/sol2#508

Closed with #34.