luaL_loadbufferx
daurnimator opened this issue · 1 comments
daurnimator commented
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