diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-06 09:41:28 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-06 09:41:28 -0200 |
commit | 968ad49da6522c1cf413bd86323a613176d12c07 (patch) | |
tree | 6961b75297c9533963f3b2d7db4f06900ed4f9f7 /ldo.h | |
parent | 1fdb445e7dae6d08b67e46e1979f285b38bbc18d (diff) | |
download | lua-968ad49da6522c1cf413bd86323a613176d12c07.tar.gz lua-968ad49da6522c1cf413bd86323a613176d12c07.tar.bz2 lua-968ad49da6522c1cf413bd86323a613176d12c07.zip |
`lua_newstate' gets the inital stack size and other arguments
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 1.12 1999/12/01 19:50:08 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 1.13 1999/12/02 16:24:45 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -23,7 +23,7 @@ | |||
23 | #define incr_top {if (L->top == L->stack_last) luaD_checkstack(L, 1); L->top++;} | 23 | #define incr_top {if (L->top == L->stack_last) luaD_checkstack(L, 1); L->top++;} |
24 | 24 | ||
25 | 25 | ||
26 | void luaD_init (lua_State *L); | 26 | void luaD_init (lua_State *L, int stacksize); |
27 | void luaD_adjusttop (lua_State *L, StkId base, int extra); | 27 | void luaD_adjusttop (lua_State *L, StkId base, int extra); |
28 | void luaD_openstack (lua_State *L, StkId pos); | 28 | void luaD_openstack (lua_State *L, StkId pos); |
29 | void luaD_lineHook (lua_State *L, int line); | 29 | void luaD_lineHook (lua_State *L, int line); |