diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-09 15:05:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-09 15:05:05 -0300 |
commit | cb49b088b61b75b905663a58a2c545de1ffea13a (patch) | |
tree | 6eee74cd799d2aebfc8846501f41009afe00c647 /lstate.c | |
parent | c5a23cf01aca02a8a8d0ee5f5f558f74b31ded89 (diff) | |
download | lua-cb49b088b61b75b905663a58a2c545de1ffea13a.tar.gz lua-cb49b088b61b75b905663a58a2c545de1ffea13a.tar.bz2 lua-cb49b088b61b75b905663a58a2c545de1ffea13a.zip |
old signature for lua_open
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 1.58 2001/03/02 17:27:50 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.59 2001/03/07 18:09:25 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -90,7 +90,7 @@ static void f_luaopen (lua_State *L, void *ud) { | |||
90 | } | 90 | } |
91 | 91 | ||
92 | 92 | ||
93 | LUA_API lua_State *lua_open (lua_State *OL, int stacksize) { | 93 | LUA_API lua_State *lua_newthread (lua_State *OL, int stacksize) { |
94 | struct Sopen so; | 94 | struct Sopen so; |
95 | lua_State *L; | 95 | lua_State *L; |
96 | if (OL) lua_lock(OL); | 96 | if (OL) lua_lock(OL); |