fallback list moved from opcode.c to fallback.c

This commit is contained in:
Roberto Ierusalimschy
1994-11-10 15:11:52 -02:00
parent d531ccd082
commit 9deac27704
4 changed files with 69 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: fallback.h,v 1.1 1994/11/07 15:20:56 roberto Exp roberto $
** $Id: fallback.h,v 1.2 1994/11/08 19:56:39 roberto Exp roberto $
*/
#ifndef fallback_h
@@ -7,6 +7,21 @@
#include "opcode.h"
extern struct FB {
char *kind;
Object function;
} luaI_fallBacks[];
#define FB_ERROR 0
#define FB_INDEX 1
#define FB_GETTABLE 2
#define FB_ARITH 3
#define FB_ORDER 4
#define FB_CONCAT 5
#define FB_UNMINUS 6
#define FB_SETTABLE 7
void luaI_setfallback (void);
void luaI_errorFB (void);
void luaI_indexFB (void);
void luaI_gettableFB (void);