From b59e110fec6876d55e43910430f706ed1575c6e7 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 18 Apr 2021 19:26:36 +0100 Subject: [PATCH] Add calling_convention to Type --- core/odin/doc-format/doc_format.odin | 7 ++++--- 1 file 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];