Force error if lua_newstate() is used in 64 bit mode.

This commit is contained in:
Mike Pall
2010-01-24 15:50:59 +01:00
parent 43f1e13470
commit 055396a69d
3 changed files with 21 additions and 0 deletions

View File

@@ -27,5 +27,8 @@ static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need)
LJ_FUNC lua_State *lj_state_new(lua_State *L);
LJ_FUNC void LJ_FASTCALL lj_state_free(global_State *g, lua_State *L);
#if LJ_64
LJ_FUNC lua_State *lj_state_newstate(lua_Alloc f, void *ud);
#endif
#endif