diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-09-17 15:04:21 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-09-17 15:04:21 -0300 |
| commit | 67cae2854cd2f90ff0cd91d641ab0b76417a1302 (patch) | |
| tree | 74e1c888e6cd0b80e98a2a7adc26fd1bbab97844 /lapi.c | |
| parent | 0e45ffb8e41fa8f6b156bdaff0685e1ddfdfbd2a (diff) | |
| download | lua-67cae2854cd2f90ff0cd91d641ab0b76417a1302.tar.gz lua-67cae2854cd2f90ff0cd91d641ab0b76417a1302.tar.bz2 lua-67cae2854cd2f90ff0cd91d641ab0b76417a1302.zip | |
'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 7 |
1 files changed, 1 insertions, 6 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 2.88 2009/08/07 16:17:41 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.89 2009/08/31 14:26:28 roberto Exp roberto $ |
| 3 | ** Lua API | 3 | ** Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -102,11 +102,6 @@ LUA_API int lua_checkstack (lua_State *L, int size) { | |||
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | 104 | ||
| 105 | LUA_API lua_State *lua_mainthread (lua_State *L) { | ||
| 106 | return G(L)->mainthread; | ||
| 107 | } | ||
| 108 | |||
| 109 | |||
| 110 | LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) { | 105 | LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) { |
| 111 | int i; | 106 | int i; |
| 112 | if (from == to) return; | 107 | if (from == to) return; |
