summaryrefslogtreecommitdiff
path: root/src/lj_cconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_cconv.h')
-rw-r--r--src/lj_cconv.h3
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
52LJ_FUNC int lj_cconv_compatptr(CTState *cts, CType *d, CType *s, CTInfo flags); 55LJ_FUNC int lj_cconv_compatptr(CTState *cts, CType *d, CType *s, CTInfo flags);
53LJ_FUNC void lj_cconv_ct_ct(CTState *cts, CType *d, CType *s, 56LJ_FUNC void lj_cconv_ct_ct(CTState *cts, CType *d, CType *s,