diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 11:12:07 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 11:12:07 -0200 |
| commit | 29ede6aa13144ff7b69c57a87be1ee93f57ae896 (patch) | |
| tree | adcfb5dcff7db55481cd675349e23dec0e63c939 /lapi.h | |
| parent | 951897c09319ae5474a4b86bb7d615136577caa0 (diff) | |
| download | lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.gz lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.bz2 lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.zip | |
first implementation of multiple states (reentrant code).
Diffstat (limited to 'lapi.h')
| -rw-r--r-- | lapi.h | 13 |
1 files changed, 6 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.h,v 1.7 1999/09/21 16:10:13 roberto Exp roberto $ | 2 | ** $Id: lapi.h,v 1.8 1999/11/04 17:22:26 roberto Exp roberto $ |
| 3 | ** Auxiliary functions from Lua API | 3 | ** Auxiliary functions from Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -8,14 +8,13 @@ | |||
| 8 | #define lapi_h | 8 | #define lapi_h |
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | #include "lua.h" | ||
| 12 | #include "lobject.h" | 11 | #include "lobject.h" |
| 13 | 12 | ||
| 14 | 13 | ||
| 15 | TObject *luaA_Address (lua_Object o); | 14 | TObject *luaA_Address (lua_State *L, lua_Object o); |
| 16 | void luaA_pushobject (const TObject *o); | 15 | void luaA_pushobject (lua_State *L, const TObject *o); |
| 17 | GlobalVar *luaA_nextvar (TaggedString *g); | 16 | GlobalVar *luaA_nextvar (lua_State *L, TaggedString *g); |
| 18 | int luaA_next (const Hash *t, int i); | 17 | int luaA_next (lua_State *L, const Hash *t, int i); |
| 19 | lua_Object luaA_putObjectOnTop (void); | 18 | lua_Object luaA_putObjectOnTop (lua_State *L); |
| 20 | 19 | ||
| 21 | #endif | 20 | #endif |
