mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Oh, tabs. Oh, you...
This commit is contained in:
parent
6a16a5a482
commit
feefb4859f
|
@ -96,12 +96,12 @@ public:
|
||||||
lua_pop(L.get(), 1);
|
lua_pop(L.get(), 1);
|
||||||
break;
|
break;
|
||||||
#if SOL_LUA_VERSION > 501
|
#if SOL_LUA_VERSION > 501
|
||||||
case lib::coroutine:
|
case lib::coroutine:
|
||||||
luaL_requiref(L.get(), "coroutine", luaopen_coroutine, 1);
|
luaL_requiref(L.get(), "coroutine", luaopen_coroutine, 1);
|
||||||
lua_pop(L.get(), 1);
|
lua_pop(L.get(), 1);
|
||||||
break;
|
break;
|
||||||
#endif // Lua 5.2+ only
|
#endif // Lua 5.2+ only
|
||||||
case lib::string:
|
case lib::string:
|
||||||
luaL_requiref(L.get(), "string", luaopen_string, 1);
|
luaL_requiref(L.get(), "string", luaopen_string, 1);
|
||||||
lua_pop(L.get(), 1);
|
lua_pop(L.get(), 1);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user