aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-29 17:43:28 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-29 17:43:28 -0300
commita97f29f15487c5f584185f646f9cfc06a04b26ca (patch)
treee7ffd959fb80f9622d74a2efadfd7880037d64ca /lua.h
parent4135f4f5862b57d9dbf3e9b7c6507f5c86516327 (diff)
downloadlua-a97f29f15487c5f584185f646f9cfc06a04b26ca.tar.gz
lua-a97f29f15487c5f584185f646f9cfc06a04b26ca.tar.bz2
lua-a97f29f15487c5f584185f646f9cfc06a04b26ca.zip
explicit stack control in the API
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index f9921a52..567f4e1a 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.60 2000/08/28 17:57:04 roberto Exp roberto $ 2** $Id: lua.h,v 1.61 2000/08/29 14:33:31 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -33,6 +33,9 @@
33#define LUA_MULTRET (-1) 33#define LUA_MULTRET (-1)
34 34
35 35
36#define LUA_MINSTACK 16
37
38
36/* error codes for lua_do* */ 39/* error codes for lua_do* */
37#define LUA_ERRFILE 2 40#define LUA_ERRFILE 2
38#define LUA_ERRSYNTAX 3 41#define LUA_ERRSYNTAX 3
@@ -58,6 +61,7 @@ void lua_close (lua_State *L);
58int lua_gettop (lua_State *L); 61int lua_gettop (lua_State *L);
59void lua_settop (lua_State *L, int index); 62void lua_settop (lua_State *L, int index);
60void lua_pushobject (lua_State *L, int index); 63void lua_pushobject (lua_State *L, int index);
64int lua_stackspace (lua_State *L);
61 65
62 66
63/* 67/*