From 8223ff473f3ffe782629fb1ba9ce1f96efeb7fd4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 2 Dec 1999 14:24:45 -0200 Subject: lua_Object is a pointer to the stack (because now the stack doen't move) --- ldo.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index 163de9d5..bc64e845 100644 --- a/ldo.h +++ b/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); -- cgit v1.2.3-55-g6feb