summaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-06 09:41:28 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-06 09:41:28 -0200
commit968ad49da6522c1cf413bd86323a613176d12c07 (patch)
tree6961b75297c9533963f3b2d7db4f06900ed4f9f7 /ldo.h
parent1fdb445e7dae6d08b67e46e1979f285b38bbc18d (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index bc64e845..f03bbd0a 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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
26void luaD_init (lua_State *L); 26void luaD_init (lua_State *L, int stacksize);
27void luaD_adjusttop (lua_State *L, StkId base, int extra); 27void luaD_adjusttop (lua_State *L, StkId base, int extra);
28void luaD_openstack (lua_State *L, StkId pos); 28void luaD_openstack (lua_State *L, StkId pos);
29void luaD_lineHook (lua_State *L, int line); 29void luaD_lineHook (lua_State *L, int line);