FFI: Fix handling of qualified transparent structs/unions.
This commit is contained in:
@@ -441,8 +441,10 @@ LJ_FUNC CTypeID lj_ctype_intern(CTState *cts, CTInfo info, CTSize size);
|
||||
LJ_FUNC void lj_ctype_addname(CTState *cts, CType *ct, CTypeID id);
|
||||
LJ_FUNC CTypeID lj_ctype_getname(CTState *cts, CType **ctp, GCstr *name,
|
||||
uint32_t tmask);
|
||||
LJ_FUNC CType *lj_ctype_getfield(CTState *cts, CType *ct, GCstr *name,
|
||||
CTSize *ofs);
|
||||
LJ_FUNC CType *lj_ctype_getfieldq(CTState *cts, CType *ct, GCstr *name,
|
||||
CTSize *ofs, CTInfo *qual);
|
||||
#define lj_ctype_getfield(cts, ct, name, ofs) \
|
||||
lj_ctype_getfieldq((cts), (ct), (name), (ofs), NULL)
|
||||
LJ_FUNC CType *lj_ctype_rawref(CTState *cts, CTypeID id);
|
||||
LJ_FUNC CTSize lj_ctype_size(CTState *cts, CTypeID id);
|
||||
LJ_FUNC CTSize lj_ctype_vlsize(CTState *cts, CType *ct, CTSize nelem);
|
||||
|
||||
Reference in New Issue
Block a user