181
181
LUA_API lua_State *lua_newstate(lua_Alloc f, void *ud)
184
GG_State *GG = cast(GG_State *, f(ud, NULL, 0, sizeof(GG_State)));
184
GG_State *GG = (GG_State *)f(ud, NULL, 0, sizeof(GG_State));
186
186
global_State *g = &GG->g;
187
187
if (GG == NULL || !checkptr32(GG)) return NULL;