diff options
author | Mike Pall <mike> | 2011-10-27 01:52:37 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-10-27 01:57:30 +0200 |
commit | 2dc574d06bc6e828109a3bffa975592f9417434c (patch) | |
tree | 1239baece908e2390eb378e6d7d8063825926f9b /src/lj_ccall.h | |
parent | 1d190c99a2547b44deb8f5e483452d9f51925fb2 (diff) | |
download | luajit2-2dc574d06bc6e828109a3bffa975592f9417434c.tar.gz |
FFI: Compile calls to stdcall, fastcall and vararg functions.
Diffstat (limited to 'src/lj_ccall.h')
-rw-r--r-- | src/lj_ccall.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_ccall.h b/src/lj_ccall.h index d9b1e42c..890f665d 100644 --- a/src/lj_ccall.h +++ b/src/lj_ccall.h @@ -7,6 +7,7 @@ #define _LJ_CCALL_H #include "lj_obj.h" +#include "lj_ctype.h" #if LJ_HASFFI @@ -129,6 +130,8 @@ typedef struct CCallState { /* Really belongs to lj_vm.h. */ LJ_ASMF void LJ_FASTCALL lj_vm_ffi_call(CCallState *cc); + +LJ_FUNC CTypeID lj_ccall_ctid_vararg(CTState *cts, cTValue *o); LJ_FUNC int lj_ccall_func(lua_State *L, GCcdata *cd); #endif |