diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-17 10:03:05 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-17 10:03:05 +0000 |
| commit | d380b0877dab2dd727d3a572417d5624e7cad826 (patch) | |
| tree | 674d8871ab7c201176142ce83a43ca553a5556b3 /base | |
| parent | bbf0c0dc004046da63c87b803321d2dbd346bcdc (diff) | |
Add `intrinsics.type_is_superset_of`
Diffstat (limited to 'base')
| -rw-r--r-- | base/intrinsics/intrinsics.odin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/intrinsics/intrinsics.odin b/base/intrinsics/intrinsics.odin index d34519f63..41a1ae1ee 100644 --- a/base/intrinsics/intrinsics.odin +++ b/base/intrinsics/intrinsics.odin @@ -215,7 +215,8 @@ type_polymorphic_record_parameter_value :: proc($T: typeid, index: int) -> $V -- type_is_specialized_polymorphic_record :: proc($T: typeid) -> bool --- type_is_unspecialized_polymorphic_record :: proc($T: typeid) -> bool --- -type_is_subtype_of :: proc($T, $U: typeid) -> bool --- +type_is_subtype_of :: proc($T, $U: typeid) -> bool --- +type_is_superset_of :: proc($Super, $Sub: typeid) -> bool --- type_field_index_of :: proc($T: typeid, $name: string) -> uintptr --- |