diff options
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 28 |
1 files changed, 17 insertions, 11 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: fallback.h,v 1.12 1996/04/22 18:00:37 roberto Exp roberto $ | 2 | ** $Id: fallback.h,v 1.13 1996/04/25 14:10:00 roberto Exp roberto $ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #ifndef fallback_h | 5 | #ifndef fallback_h |
@@ -15,16 +15,17 @@ extern struct FB { | |||
15 | int nResults; | 15 | int nResults; |
16 | } luaI_fallBacks[]; | 16 | } luaI_fallBacks[]; |
17 | 17 | ||
18 | #define FB_ERROR 0 | 18 | #define FB_GETTABLE 0 |
19 | #define FB_INDEX 1 | 19 | #define FB_ARITH 1 |
20 | #define FB_GETTABLE 2 | 20 | #define FB_ORDER 2 |
21 | #define FB_ARITH 3 | 21 | #define FB_CONCAT 3 |
22 | #define FB_ORDER 4 | 22 | #define FB_SETTABLE 4 |
23 | #define FB_CONCAT 5 | 23 | #define FB_GC 5 |
24 | #define FB_SETTABLE 6 | 24 | #define FB_FUNCTION 6 |
25 | #define FB_GC 7 | 25 | #define FB_GETGLOBAL 7 |
26 | #define FB_FUNCTION 8 | 26 | #define FB_INDEX 8 |
27 | #define FB_GETGLOBAL 9 | 27 | #define FB_ERROR 9 |
28 | #define FB_N 10 | ||
28 | 29 | ||
29 | void luaI_setfallback (void); | 30 | void luaI_setfallback (void); |
30 | int luaI_ref (Object *object, int lock); | 31 | int luaI_ref (Object *object, int lock); |
@@ -33,5 +34,10 @@ void luaI_travlock (int (*fn)(Object *)); | |||
33 | void luaI_invalidaterefs (void); | 34 | void luaI_invalidaterefs (void); |
34 | char *luaI_travfallbacks (int (*fn)(Object *)); | 35 | char *luaI_travfallbacks (int (*fn)(Object *)); |
35 | 36 | ||
37 | void luaI_settag (int tag, Object *o); | ||
38 | Object *luaI_getim (int tag, int event); | ||
39 | int luaI_tag (Object *o); | ||
40 | void luaI_setintmethod (void); | ||
41 | |||
36 | #endif | 42 | #endif |
37 | 43 | ||