aboutsummaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/fallback.c b/fallback.c
index 7fff6690..fd9bd648 100644
--- a/fallback.c
+++ b/fallback.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_fallback="$Id: fallback.c,v 1.11 1995/02/06 19:34:03 roberto Exp roberto $"; 6char *rcs_fallback="$Id: fallback.c,v 1.12 1995/05/02 18:43:03 roberto Exp roberto $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h> 9#include <string.h>
@@ -28,15 +28,15 @@ static void funcFB (void);
28** Warning: This list must be in the same order as the #define's 28** Warning: This list must be in the same order as the #define's
29*/ 29*/
30struct FB luaI_fallBacks[] = { 30struct FB luaI_fallBacks[] = {
31{"error", {LUA_T_CFUNCTION, errorFB}}, 31{"error", {LUA_T_CFUNCTION, {errorFB}}},
32{"index", {LUA_T_CFUNCTION, indexFB}}, 32{"index", {LUA_T_CFUNCTION, {indexFB}}},
33{"gettable", {LUA_T_CFUNCTION, gettableFB}}, 33{"gettable", {LUA_T_CFUNCTION, {gettableFB}}},
34{"arith", {LUA_T_CFUNCTION, arithFB}}, 34{"arith", {LUA_T_CFUNCTION, {arithFB}}},
35{"order", {LUA_T_CFUNCTION, orderFB}}, 35{"order", {LUA_T_CFUNCTION, {orderFB}}},
36{"concat", {LUA_T_CFUNCTION, concatFB}}, 36{"concat", {LUA_T_CFUNCTION, {concatFB}}},
37{"settable", {LUA_T_CFUNCTION, gettableFB}}, 37{"settable", {LUA_T_CFUNCTION, {gettableFB}}},
38{"gc", {LUA_T_CFUNCTION, GDFB}}, 38{"gc", {LUA_T_CFUNCTION, {GDFB}}},
39{"function", {LUA_T_CFUNCTION, funcFB}} 39{"function", {LUA_T_CFUNCTION, {funcFB}}}
40}; 40};
41 41
42#define N_FB (sizeof(luaI_fallBacks)/sizeof(struct FB)) 42#define N_FB (sizeof(luaI_fallBacks)/sizeof(struct FB))