diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-11 16:42:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-11 16:42:57 -0300 |
commit | 30f6e658d2071d23309e4ac70dd8ec199049aff4 (patch) | |
tree | 905c4d0db5ad6fd8fcf51d9542bd3751cc87a4be /lua.h | |
parent | 787a78f83e0484c9e9698189982e2f309808fae8 (diff) | |
download | lua-30f6e658d2071d23309e4ac70dd8ec199049aff4.tar.gz lua-30f6e658d2071d23309e4ac70dd8ec199049aff4.tar.bz2 lua-30f6e658d2071d23309e4ac70dd8ec199049aff4.zip |
`lua_newstate' renamed to `lua_open'
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.65 2000/08/31 21:01:43 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.66 2000/09/05 19:33:32 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 |
@@ -34,7 +34,7 @@ | |||
34 | #define LUA_MULTRET (-1) | 34 | #define LUA_MULTRET (-1) |
35 | 35 | ||
36 | 36 | ||
37 | #define LUA_MINSTACK 16 | 37 | #define LUA_MINSTACK 20 |
38 | 38 | ||
39 | 39 | ||
40 | /* error codes for lua_do* */ | 40 | /* error codes for lua_do* */ |
@@ -52,7 +52,7 @@ typedef int (*lua_CFunction) (lua_State *L); | |||
52 | /* | 52 | /* |
53 | ** state manipulation | 53 | ** state manipulation |
54 | */ | 54 | */ |
55 | lua_State *lua_newstate (int stacksize); | 55 | lua_State *lua_open (int stacksize); |
56 | void lua_close (lua_State *L); | 56 | void lua_close (lua_State *L); |
57 | 57 | ||
58 | 58 | ||