lua_Object is a pointer to the stack (because now the stack doen't move)
This commit is contained in:
8
ldo.h
8
ldo.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: ldo.h,v 1.11 1999/11/25 18:58:51 roberto Exp roberto $
|
||||
** $Id: ldo.h,v 1.12 1999/12/01 19:50:08 roberto Exp roberto $
|
||||
** Stack and Call structure of Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -23,12 +23,6 @@
|
||||
#define incr_top {if (L->top == L->stack_last) luaD_checkstack(L, 1); L->top++;}
|
||||
|
||||
|
||||
/* macros to convert from lua_Object to (TObject *) and back */
|
||||
|
||||
#define Address(L, lo) ((lo)+L->stack-1)
|
||||
#define Ref(L, st) ((st)-L->stack+1)
|
||||
|
||||
|
||||
void luaD_init (lua_State *L);
|
||||
void luaD_adjusttop (lua_State *L, StkId base, int extra);
|
||||
void luaD_openstack (lua_State *L, StkId pos);
|
||||
|
||||
Reference in New Issue
Block a user