load math, string

This commit is contained in:
Glenn Maynard
2004-02-15 00:42:45 +00:00
parent dcd308edb7
commit ebc0065e32
+2
View File
@@ -120,6 +120,8 @@ try {
lua_atpanic( L, LuaPanic );
luaopen_base( L );
luaopen_math( L );
luaopen_string( L );
lua_settop(L, 0); // luaopen_* pushes stuff onto the stack that we don't need
Lua::RegisterFunctions( L );