lua_Object is a pointer to the stack (because now the stack doen't move)

This commit is contained in:
Roberto Ierusalimschy
1999-12-02 14:24:45 -02:00
parent fe237ad808
commit 8223ff473f
7 changed files with 80 additions and 84 deletions

10
lua.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lua.h,v 1.40 1999/11/29 19:11:36 roberto Exp roberto $
** $Id: lua.h,v 1.41 1999/11/29 19:31:29 roberto Exp roberto $
** Lua - An Extensible Extension Language
** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
** e-mail: lua@tecgraf.puc-rio.br
@@ -16,8 +16,6 @@
#define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo"
#define LUA_NOOBJECT 0
#define LUA_NOREF (-2)
#define LUA_REFNIL (-1)
@@ -26,7 +24,11 @@
typedef struct lua_State lua_State;
typedef void (*lua_CFunction) ( /* lua_State *L */ );
typedef unsigned int lua_Object;
typedef struct TObject *lua_Object;
#define LUA_NOOBJECT ((lua_Object)0)
lua_State *lua_newstate (void);
void lua_close (lua_State *L);