From 67cae2854cd2f90ff0cd91d641ab0b76417a1302 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 17 Sep 2009 15:04:21 -0300 Subject: 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD --- lapi.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 0850d1b8..bf3386c4 100644 --- a/lapi.c +++ b/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; -- cgit v1.2.3-55-g6feb