diff options
Diffstat (limited to 'fallback.h')
| -rw-r--r-- | fallback.h | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -1,10 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: fallback.h,v 1.10 1995/10/17 11:52:38 roberto Exp roberto $ | 2 | ** $Id: fallback.h,v 1.11 1996/01/30 15:25:23 roberto Exp roberto $ |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | #ifndef fallback_h | 5 | #ifndef fallback_h |
| 6 | #define fallback_h | 6 | #define fallback_h |
| 7 | 7 | ||
| 8 | #include "lua.h" | ||
| 8 | #include "opcode.h" | 9 | #include "opcode.h" |
| 9 | 10 | ||
| 10 | extern struct FB { | 11 | extern struct FB { |
| @@ -26,9 +27,10 @@ extern struct FB { | |||
| 26 | #define FB_GETGLOBAL 9 | 27 | #define FB_GETGLOBAL 9 |
| 27 | 28 | ||
| 28 | void luaI_setfallback (void); | 29 | void luaI_setfallback (void); |
| 29 | int luaI_lock (Object *object); | 30 | lua_Reference luaI_ref (Object *object, int lock); |
| 30 | Object *luaI_getlocked (int ref); | 31 | Object *luaI_getref (lua_Reference ref); |
| 31 | void luaI_travlock (int (*fn)(Object *)); | 32 | void luaI_travlock (int (*fn)(Object *)); |
| 33 | void luaI_invalidaterefs (void); | ||
| 32 | char *luaI_travfallbacks (int (*fn)(Object *)); | 34 | char *luaI_travfallbacks (int (*fn)(Object *)); |
| 33 | 35 | ||
| 34 | #endif | 36 | #endif |
