repo.or.cz
/
lua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported from ../lua-2.1.tar.gz.
[lua.git]
/
src
/
fallback.h
blob
225a906343e6d0b20772ddf721fd8208d8332ffa
1
/*
2
** $Id: fallback.h,v 1.7 1994/11/21 18:22:58 roberto Stab $
3
*/
4
5
#ifndef fallback_h
6
#define fallback_h
7
8
#include
"opcode.h"
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_SETTABLE 6
22
#define FB_GC 7
23
#define FB_FUNCTION 8
24
25
void
luaI_setfallback
(
void
);
26
int
luaI_lock
(
Object
*
object
);
27
Object
*
luaI_getlocked
(
int
ref
);
28
void
luaI_travlock
(
void
(*
fn
)(
Object
*));
29
30
#endif
31