mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Added parentof.
This commit is contained in:
committed by
Christoffer Lerno
parent
092296984a
commit
a23112fae6
@@ -16,6 +16,7 @@ static inline LLVMTypeRef create_introspection_type(GenContext *c)
|
||||
LLVMTypeRef type = LLVMStructCreateNamed(c->context, ".introspect");
|
||||
LLVMTypeRef introspect_type[INTROSPECT_INDEX_TOTAL] = {
|
||||
[INTROSPECT_INDEX_KIND] = c->byte_type,
|
||||
[INTROSPECT_INDEX_PARENTOF] = c->typeid_type,
|
||||
[INTROSPECT_INDEX_DTABLE] = c->ptr_type,
|
||||
[INTROSPECT_INDEX_SIZEOF] = c->size_type,
|
||||
[INTROSPECT_INDEX_INNER] = c->typeid_type,
|
||||
|
||||
Reference in New Issue
Block a user