'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
This commit is contained in:
7
lapi.c
7
lapi.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lapi.c,v 2.88 2009/08/07 16:17:41 roberto Exp roberto $
|
||||
** $Id: lapi.c,v 2.89 2009/08/31 14:26:28 roberto Exp roberto $
|
||||
** Lua API
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -102,11 +102,6 @@ LUA_API int lua_checkstack (lua_State *L, int size) {
|
||||
}
|
||||
|
||||
|
||||
LUA_API lua_State *lua_mainthread (lua_State *L) {
|
||||
return G(L)->mainthread;
|
||||
}
|
||||
|
||||
|
||||
LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) {
|
||||
int i;
|
||||
if (from == to) return;
|
||||
|
||||
Reference in New Issue
Block a user