Fixing bugs, constraining syntax
This commit is contained in:
@@ -68,7 +68,7 @@ Type_Info :: struct
|
||||
type_infos_len: S64 #foreign
|
||||
type_infos : *Type_Info #foreign
|
||||
|
||||
get_type_info :: (type: Type): *Type_Info
|
||||
GetTypeInfo :: (type: Type): *Type_Info
|
||||
id := type->S64
|
||||
if id >= type_infos_len
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user