aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-18 19:26:36 +0100
committergingerBill <bill@gingerbill.org>2021-04-18 19:26:36 +0100
commitb59e110fec6876d55e43910430f706ed1575c6e7 (patch)
treee9a870ecec9dce299e8b1e265596defb46f0454d
parent4282688e6057ba491db8b8d6121c09cd12501094 (diff)
Add calling_convention to Type
-rw-r--r--core/odin/doc-format/doc_format.odin7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/odin/doc-format/doc_format.odin b/core/odin/doc-format/doc_format.odin
index b24944472..b4b36bff8 100644
--- a/core/odin/doc-format/doc_format.odin
+++ b/core/odin/doc-format/doc_format.odin
@@ -160,10 +160,11 @@ Type :: struct {
elem_counts: [Type_Elems_Cap]i64le,
// Each of these is esed by some types, not all
- types: Array(Type_Index),
- entities: Array(Entity_Index),
+ calling_convention: String, // Procedures
+ types: Array(Type_Index),
+ entities: Array(Entity_Index),
polymorphic_params: Type_Index, // Struct, Union
- where_clauses: Array(String), // Struct, Union
+ where_clauses: Array(String), // Struct, Union
}
Type_Flags_Basic :: distinct bit_set[Type_Flag_Basic; u32le];