diff options
Diffstat (limited to 'src/lj_cconv.h')
-rw-r--r-- | src/lj_cconv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_cconv.h b/src/lj_cconv.h index 494f9d4e..47c14596 100644 --- a/src/lj_cconv.h +++ b/src/lj_cconv.h | |||
@@ -48,6 +48,9 @@ static LJ_AINLINE uint32_t cconv_idx(CTInfo info) | |||
48 | #define CCF_SAME 0x00000004u | 48 | #define CCF_SAME 0x00000004u |
49 | #define CCF_IGNQUAL 0x00000008u | 49 | #define CCF_IGNQUAL 0x00000008u |
50 | 50 | ||
51 | #define CCF_ARG_SHIFT 8 | ||
52 | #define CCF_ARG(n) ((n) << CCF_ARG_SHIFT) | ||
53 | #define CCF_GETARG(f) ((f) >> CCF_ARG_SHIFT) | ||
51 | 54 | ||
52 | LJ_FUNC int lj_cconv_compatptr(CTState *cts, CType *d, CType *s, CTInfo flags); | 55 | LJ_FUNC int lj_cconv_compatptr(CTState *cts, CType *d, CType *s, CTInfo flags); |
53 | LJ_FUNC void lj_cconv_ct_ct(CTState *cts, CType *d, CType *s, | 56 | LJ_FUNC void lj_cconv_ct_ct(CTState *cts, CType *d, CType *s, |