diff options
author | Mike Pall <mike> | 2011-11-14 14:15:57 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-11-14 14:18:25 +0100 |
commit | 71d00a56dbab6c29c0346093dbe530d7b7608be4 (patch) | |
tree | 5e28e19b4d2f20168d5ee0e4fe500b1e2b233c1c /src/lj_def.h | |
parent | e9eb4fdb4a08baaa2d9190187a6c38d5b3f8b091 (diff) | |
download | luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.gz luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.bz2 luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.zip |
FFI: Add callback support (for x86/x64).
Diffstat (limited to 'src/lj_def.h')
-rw-r--r-- | src/lj_def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_def.h b/src/lj_def.h index dadb8c0a..5d21d584 100644 --- a/src/lj_def.h +++ b/src/lj_def.h | |||
@@ -67,6 +67,8 @@ typedef unsigned int uintptr_t; | |||
67 | #define LJ_MAX_IDXCHAIN 100 /* __index/__newindex chain limit. */ | 67 | #define LJ_MAX_IDXCHAIN 100 /* __index/__newindex chain limit. */ |
68 | #define LJ_STACK_EXTRA 5 /* Extra stack space (metamethods). */ | 68 | #define LJ_STACK_EXTRA 5 /* Extra stack space (metamethods). */ |
69 | 69 | ||
70 | #define LJ_NUM_CBPAGE 1 /* Number of FFI callback pages. */ | ||
71 | |||
70 | /* Minimum table/buffer sizes. */ | 72 | /* Minimum table/buffer sizes. */ |
71 | #define LJ_MIN_GLOBAL 6 /* Min. global table size (hbits). */ | 73 | #define LJ_MIN_GLOBAL 6 /* Min. global table size (hbits). */ |
72 | #define LJ_MIN_REGISTRY 2 /* Min. registry size (hbits). */ | 74 | #define LJ_MIN_REGISTRY 2 /* Min. registry size (hbits). */ |