mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
FIx error with loading coroutine library
This commit is contained in:
parent
bf90dbcc81
commit
c3ca4d9610
|
@ -93,7 +93,7 @@ public:
|
|||
luaL_requiref(L.get(), "package", luaopen_package, 1);
|
||||
break;
|
||||
case lib::coroutine:
|
||||
luaL_requiref(L.get(), "coroutine", luaopen_base, 1);
|
||||
luaL_requiref(L.get(), "coroutine", luaopen_coroutine, 1);
|
||||
break;
|
||||
case lib::string:
|
||||
luaL_requiref(L.get(), "string", luaopen_string, 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user