lua/fallback.h

32 lines
542 B
C
Raw Normal View History

/*
** $Id: fallback.h,v 1.4 1994/11/10 17:36:54 roberto Exp roberto $
*/
#ifndef fallback_h
#define fallback_h
1994-11-08 11:56:39 -08:00
#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
1994-11-10 09:36:54 -08:00
#define FB_GC 8
void luaI_setfallback (void);
int luaI_lock (Object *object);
1994-11-08 11:56:39 -08:00
Object *luaI_getlocked (int ref);
void luaI_travlock (void (*fn)(Object *));
#endif