feat: enable coroutines (#695)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
jayden 2025-03-12 04:09:40 +00:00 committed by GitHub
parent dae7854c3c
commit aac7096f63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -287,7 +287,6 @@ void smlua_init(void) {
// load libraries
luaopen_base(L);
//luaopen_coroutine(L);
#if defined(DEVELOPMENT)
luaL_requiref(L, "debug", luaopen_debug, 1);
luaL_requiref(L, "io", luaopen_io, 1);
@ -297,7 +296,8 @@ void smlua_init(void) {
luaL_requiref(L, "math", luaopen_math, 1);
luaL_requiref(L, "string", luaopen_string, 1);
luaL_requiref(L, "table", luaopen_table, 1);
//luaopen_utf8(L);
luaL_requiref(L, "coroutine", luaopen_coroutine, 1);
// luaopen_utf8(L);
smlua_bind_hooks();
smlua_bind_cobject();