diff options
author | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
commit | 1d1fed48a002dfc0919135911057ebc255a53e0a (patch) | |
tree | c5c6643908374bb8f02f4c7691332d32f6645986 /src/luajit.h | |
parent | 55b16959717084884fd4a0cbae6d19e3786c20c7 (diff) | |
download | luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.gz luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.bz2 luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.zip |
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
Diffstat (limited to 'src/luajit.h')
-rw-r--r-- | src/luajit.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/luajit.h b/src/luajit.h index 01913755..b3617f49 100644 --- a/src/luajit.h +++ b/src/luajit.h | |||
@@ -30,9 +30,9 @@ | |||
30 | 30 | ||
31 | #include "lua.h" | 31 | #include "lua.h" |
32 | 32 | ||
33 | #define LUAJIT_VERSION "LuaJIT 2.0.0-beta1" | 33 | #define LUAJIT_VERSION "LuaJIT 2.0.0-beta2" |
34 | #define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */ | 34 | #define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */ |
35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta1 | 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta2 |
36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2009 Mike Pall" | 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2009 Mike Pall" |
37 | #define LUAJIT_URL "http://luajit.org/" | 37 | #define LUAJIT_URL "http://luajit.org/" |
38 | 38 | ||
@@ -49,12 +49,14 @@ enum { | |||
49 | 49 | ||
50 | LUAJIT_MODE_TRACE, /* Flush a compiled trace. */ | 50 | LUAJIT_MODE_TRACE, /* Flush a compiled trace. */ |
51 | 51 | ||
52 | LUAJIT_MODE_WRAPCFUNC = 0x10, /* Set wrapper mode for C function calls. */ | ||
53 | |||
52 | LUAJIT_MODE_MAX | 54 | LUAJIT_MODE_MAX |
53 | }; | 55 | }; |
54 | 56 | ||
55 | /* Flags or'ed in to the mode. */ | 57 | /* Flags or'ed in to the mode. */ |
56 | #define LUAJIT_MODE_OFF 0x0000 /* Disable JIT compilation. */ | 58 | #define LUAJIT_MODE_OFF 0x0000 /* Turn feature off. */ |
57 | #define LUAJIT_MODE_ON 0x0100 /* (Re-)enable JIT compilation. */ | 59 | #define LUAJIT_MODE_ON 0x0100 /* Turn feature on. */ |
58 | #define LUAJIT_MODE_FLUSH 0x0200 /* Flush JIT-compiled code. */ | 60 | #define LUAJIT_MODE_FLUSH 0x0200 /* Flush JIT-compiled code. */ |
59 | 61 | ||
60 | /* LuaJIT public C API. */ | 62 | /* LuaJIT public C API. */ |