diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-07 14:34:44 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-07 14:34:44 -0200 |
| commit | d95a8b312166752e2211678b33514edb1d68a0a6 (patch) | |
| tree | 87a7180705c1c5e6db71831fb8cb49ce8980f4d0 /opcode.h | |
| parent | 9ffba7a3dbdfa68595cd8cec26bd99689ce5fd08 (diff) | |
| download | lua-d95a8b312166752e2211678b33514edb1d68a0a6.tar.gz lua-d95a8b312166752e2211678b33514edb1d68a0a6.tar.bz2 lua-d95a8b312166752e2211678b33514edb1d68a0a6.zip | |
new API: lua_Object now is an integer
Diffstat (limited to 'opcode.h')
| -rw-r--r-- | opcode.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** TeCGraf - PUC-Rio | 2 | ** TeCGraf - PUC-Rio |
| 3 | ** $Id: opcode.h,v 3.3 1994/11/06 15:35:04 roberto Exp $ | 3 | ** $Id: opcode.h,v 3.4 1994/11/07 15:20:56 roberto Exp roberto $ |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #ifndef opcode_h | 6 | #ifndef opcode_h |
| @@ -152,7 +152,6 @@ typedef struct | |||
| 152 | code.m.c3 = *pc++; code.m.c4 = *pc++;} | 152 | code.m.c3 = *pc++; code.m.c4 = *pc++;} |
| 153 | 153 | ||
| 154 | 154 | ||
| 155 | |||
| 156 | /* Exported functions */ | 155 | /* Exported functions */ |
| 157 | char *lua_strdup (char *l); | 156 | char *lua_strdup (char *l); |
| 158 | 157 | ||
| @@ -162,5 +161,7 @@ int yylex (void); /* from "lex.c" module */ | |||
| 162 | Byte *lua_parse (void); /* from "lua.stx" module */ | 161 | Byte *lua_parse (void); /* from "lua.stx" module */ |
| 163 | void lua_travstack (void (*fn)(Object *)); | 162 | void lua_travstack (void (*fn)(Object *)); |
| 164 | void luaI_setfallback (void); | 163 | void luaI_setfallback (void); |
| 164 | Object *luaI_Address (lua_Object o); | ||
| 165 | void luaI_pushobject (Object *o); | ||
| 165 | 166 | ||
| 166 | #endif | 167 | #endif |
