mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-14 14:23:43 +00:00
Update doc-writer
This commit is contained in:
@@ -620,6 +620,7 @@ gb_internal OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type, bool ca
|
||||
if (type->Struct.is_polymorphic) { doc_type.flags |= OdinDocTypeFlag_Struct_polymorphic; }
|
||||
if (type->Struct.is_packed) { doc_type.flags |= OdinDocTypeFlag_Struct_packed; }
|
||||
if (type->Struct.is_raw_union) { doc_type.flags |= OdinDocTypeFlag_Struct_raw_union; }
|
||||
if (type->Struct.is_all_or_none) { doc_type.flags |= OdinDocTypeFlag_Struct_all_or_none; }
|
||||
|
||||
auto fields = array_make<OdinDocEntityIndex>(heap_allocator(), type->Struct.fields.count);
|
||||
defer (array_free(&fields));
|
||||
|
||||
Reference in New Issue
Block a user