diff options
Diffstat (limited to 'src/lj_ctype.h')
-rw-r--r-- | src/lj_ctype.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lj_ctype.h b/src/lj_ctype.h index 7c3b667c..e2c09121 100644 --- a/src/lj_ctype.h +++ b/src/lj_ctype.h | |||
@@ -441,8 +441,10 @@ LJ_FUNC CTypeID lj_ctype_intern(CTState *cts, CTInfo info, CTSize size); | |||
441 | LJ_FUNC void lj_ctype_addname(CTState *cts, CType *ct, CTypeID id); | 441 | LJ_FUNC void lj_ctype_addname(CTState *cts, CType *ct, CTypeID id); |
442 | LJ_FUNC CTypeID lj_ctype_getname(CTState *cts, CType **ctp, GCstr *name, | 442 | LJ_FUNC CTypeID lj_ctype_getname(CTState *cts, CType **ctp, GCstr *name, |
443 | uint32_t tmask); | 443 | uint32_t tmask); |
444 | LJ_FUNC CType *lj_ctype_getfield(CTState *cts, CType *ct, GCstr *name, | 444 | LJ_FUNC CType *lj_ctype_getfieldq(CTState *cts, CType *ct, GCstr *name, |
445 | CTSize *ofs); | 445 | CTSize *ofs, CTInfo *qual); |
446 | #define lj_ctype_getfield(cts, ct, name, ofs) \ | ||
447 | lj_ctype_getfieldq((cts), (ct), (name), (ofs), NULL) | ||
446 | LJ_FUNC CType *lj_ctype_rawref(CTState *cts, CTypeID id); | 448 | LJ_FUNC CType *lj_ctype_rawref(CTState *cts, CTypeID id); |
447 | LJ_FUNC CTSize lj_ctype_size(CTState *cts, CTypeID id); | 449 | LJ_FUNC CTSize lj_ctype_size(CTState *cts, CTypeID id); |
448 | LJ_FUNC CTSize lj_ctype_vlsize(CTState *cts, CType *ct, CTSize nelem); | 450 | LJ_FUNC CTSize lj_ctype_vlsize(CTState *cts, CType *ct, CTSize nelem); |