diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-07 13:39:23 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-07 13:39:23 -0200 |
commit | 63633c5b5f0cd7ef85ad6988c361916b8ef5d3ac (patch) | |
tree | 459aeb4eb83b241fda35d0b9606a5b548b57b93c /lapi.c | |
parent | dff9be4224a1cd0f338b544b9e01d42f0f4e537f (diff) | |
download | lua-63633c5b5f0cd7ef85ad6988c361916b8ef5d3ac.tar.gz lua-63633c5b5f0cd7ef85ad6988c361916b8ef5d3ac.tar.bz2 lua-63633c5b5f0cd7ef85ad6988c361916b8ef5d3ac.zip |
better name for `lua_movethread'
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.216 2002/11/06 19:08:00 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.217 2002/11/07 15:37:10 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 | */ |
@@ -105,7 +105,7 @@ LUA_API int lua_checkstack (lua_State *L, int size) { | |||
105 | } | 105 | } |
106 | 106 | ||
107 | 107 | ||
108 | LUA_API void lua_movethread (lua_State *from, lua_State *to, int n) { | 108 | LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) { |
109 | int i; | 109 | int i; |
110 | lua_lock(to); | 110 | lua_lock(to); |
111 | api_checknelems(from, n); | 111 | api_checknelems(from, n); |