aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2023-11-22 17:15:27 +0100
committerjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2023-11-22 17:15:27 +0100
commita0e6ae6f335016ea07958cdb665edcb499c22e8f (patch)
treece8b990f40e17232b99d674507327f5f8cfcb027
parent056840975fce4b97f124e2997ba217bf939ec820 (diff)
return uintptr from type_union_tag_offset
-rw-r--r--core/intrinsics/intrinsics.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/intrinsics/intrinsics.odin b/core/intrinsics/intrinsics.odin
index afa0efa36..c23cbd473 100644
--- a/core/intrinsics/intrinsics.odin
+++ b/core/intrinsics/intrinsics.odin
@@ -165,7 +165,7 @@ type_is_specialization_of :: proc($T, $S: typeid) -> bool ---
type_is_variant_of :: proc($U, $V: typeid) -> bool where type_is_union(U) ---
type_union_tag_type :: proc($T: typeid) -> typeid where type_is_union(T) ---
-type_union_tag_offset :: proc($T: typeid) -> int where type_is_union(T) ---
+type_union_tag_offset :: proc($T: typeid) -> uintptr where type_is_union(T) ---
type_union_base_tag_value :: proc($T: typeid) -> int where type_is_union(U) ---
type_union_variant_count :: proc($T: typeid) -> int where type_is_union(T) ---
type_variant_type_of :: proc($T: typeid, $index: int) -> typeid where type_is_union(T) ---