|
luaL_requiref(L,"string", luaopen_string, 1);
lua_pop(L, 1);
?
This has also been asked at
https://stackoverflow.com/questions/61690727/lua-call-script-from-c-with-limited-modules-error-on-string-len
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org
_______________________________________________ lua-l mailing list -- lua-l@lists.lua.org To unsubscribe send an email to lua-l-leave@lists.lua.org