diff options
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: fallback.h,v 1.1 1994/11/07 15:20:56 roberto Exp roberto $ | 2 | ** $Id: fallback.h,v 1.2 1994/11/08 19:56:39 roberto Exp roberto $ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #ifndef fallback_h | 5 | #ifndef fallback_h |
@@ -7,6 +7,21 @@ | |||
7 | 7 | ||
8 | #include "opcode.h" | 8 | #include "opcode.h" |
9 | 9 | ||
10 | extern struct FB { | ||
11 | char *kind; | ||
12 | Object function; | ||
13 | } luaI_fallBacks[]; | ||
14 | |||
15 | #define FB_ERROR 0 | ||
16 | #define FB_INDEX 1 | ||
17 | #define FB_GETTABLE 2 | ||
18 | #define FB_ARITH 3 | ||
19 | #define FB_ORDER 4 | ||
20 | #define FB_CONCAT 5 | ||
21 | #define FB_UNMINUS 6 | ||
22 | #define FB_SETTABLE 7 | ||
23 | |||
24 | void luaI_setfallback (void); | ||
10 | void luaI_errorFB (void); | 25 | void luaI_errorFB (void); |
11 | void luaI_indexFB (void); | 26 | void luaI_indexFB (void); |
12 | void luaI_gettableFB (void); | 27 | void luaI_gettableFB (void); |