support for multiple stacks sharing the same global environment

This commit is contained in:
Roberto Ierusalimschy
2001-01-22 16:01:38 -02:00
parent 4ac58853dc
commit 6fda6a5302
6 changed files with 134 additions and 83 deletions

4
lua.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lua.h,v 1.81 2000/12/22 16:58:41 roberto Exp roberto $
** $Id: lua.h,v 1.82 2001/01/10 16:58:11 roberto Exp roberto $
** Lua - An Extensible Extension Language
** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
** e-mail: lua@tecgraf.puc-rio.br
@@ -81,7 +81,7 @@ typedef int (*lua_CFunction) (lua_State *L);
/*
** state manipulation
*/
LUA_API lua_State *lua_open (int stacksize);
LUA_API lua_State *lua_open (lua_State *L, int stacksize);
LUA_API void lua_close (lua_State *L);