aboutsummaryrefslogtreecommitdiff
path: root/base/runtime
diff options
context:
space:
mode:
authoravanspector <94762082+avanspector@users.noreply.github.com>2024-02-29 03:16:04 +0100
committerGitHub <noreply@github.com>2024-02-29 03:16:04 +0100
commit5d6b4eda1e9289ea7f10eed0dfd4d4e6b0dd285e (patch)
treebfa951ecd1cabc57dac24ad5fdd5cd7f0acf83e3 /base/runtime
parent290ada7f903e95fc3a7ed81e98c0e1d5ca0708ba (diff)
parent7df7fec6f736a52712961a2a54de3747eac4ec84 (diff)
Merge branch 'odin-lang:master' into haiku
Diffstat (limited to 'base/runtime')
-rw-r--r--base/runtime/core.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin
index 2f63a7ac2..8f27ca674 100644
--- a/base/runtime/core.odin
+++ b/base/runtime/core.odin
@@ -280,7 +280,7 @@ Typeid_Kind :: enum u8 {
// NOTE(bill): only the ones that are needed (not all types)
// This will be set by the compiler
-type_table: []Type_Info
+type_table: []^Type_Info
args__: []cstring
@@ -609,7 +609,7 @@ __type_info_of :: proc "contextless" (id: typeid) -> ^Type_Info #no_bounds_check
if n < 0 || n >= len(type_table) {
n = 0
}
- return &type_table[n]
+ return type_table[n]
}
when !ODIN_NO_RTTI {