diff options
author | Mike Pall <mike> | 2011-01-29 13:04:16 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-01-29 13:04:16 +0100 |
commit | 6fd721ce7294c0ceba0d0d49a79e59801427ba8d (patch) | |
tree | 0c1066dd350e8d2f8f1a0ace0df0f02b0c4f0f59 /src/lj_ccall.h | |
parent | 6fee0002b9ea12d4b7f745ee664d6ccb2411af6c (diff) | |
download | luajit2-6fd721ce7294c0ceba0d0d49a79e59801427ba8d.tar.gz |
FFI: Implement POSIX/x64 struct-by-value calling conventions.
Diffstat (limited to 'src/lj_ccall.h')
-rw-r--r-- | src/lj_ccall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_ccall.h b/src/lj_ccall.h index 6f9c58e5..83e2403d 100644 --- a/src/lj_ccall.h +++ b/src/lj_ccall.h @@ -86,6 +86,7 @@ typedef struct CCallState { uint8_t nsp; /* Number of stack slots. */ uint8_t retref; /* Return value by reference. */ #if LJ_TARGET_X64 + uint8_t ngpr; /* Number of arguments in GPRs. */ uint8_t nfpr; /* Number of arguments in FPRs. */ #elif LJ_TARGET_X86 uint8_t resx87; /* Result on x87 stack: 1:float, 2:double. */ |