diff options
author | Mike Pall <mike> | 2009-12-08 19:46:35 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-08 19:46:35 +0100 |
commit | 55b16959717084884fd4a0cbae6d19e3786c20c7 (patch) | |
tree | c8a07a43c13679751ed25a9d06796e9e7b2134a6 /src/lj_ff.h | |
download | luajit-2.0.0-beta1.tar.gz luajit-2.0.0-beta1.tar.bz2 luajit-2.0.0-beta1.zip |
RELEASE LuaJIT-2.0.0-beta1v2.0.0-beta1
Diffstat (limited to 'src/lj_ff.h')
-rw-r--r-- | src/lj_ff.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lj_ff.h b/src/lj_ff.h new file mode 100644 index 00000000..6dfd73a7 --- /dev/null +++ b/src/lj_ff.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | ** Fast function IDs. | ||
3 | ** Copyright (C) 2005-2009 Mike Pall. See Copyright Notice in luajit.h | ||
4 | */ | ||
5 | |||
6 | #ifndef _LJ_FF_H | ||
7 | #define _LJ_FF_H | ||
8 | |||
9 | /* Fast function ID. */ | ||
10 | typedef enum { | ||
11 | FF_LUA_ = FF_LUA, /* Lua function (must be 0). */ | ||
12 | FF_C_ = FF_C, /* Regular C function (must be 1). */ | ||
13 | #define FFDEF(name) FF_##name, | ||
14 | #include "lj_ffdef.h" | ||
15 | FF__MAX | ||
16 | } FastFunc; | ||
17 | |||
18 | #endif | ||