Add package name and source code location to Type_Info_Named

This commit is contained in:
gingerBill
2020-12-05 20:47:50 +00:00
parent 1a8ea6113a
commit 069c6cac3f
3 changed files with 43 additions and 2 deletions
+6 -1
View File
@@ -55,7 +55,12 @@ Type_Info_Struct_Soa_Kind :: enum u8 {
}
// Variant Types
Type_Info_Named :: struct {name: string, base: ^Type_Info};
Type_Info_Named :: struct {
name: string,
base: ^Type_Info,
pkg: string,
loc: Source_Code_Location,
};
Type_Info_Integer :: struct {signed: bool, endianness: Platform_Endianness};
Type_Info_Rune :: struct {};
Type_Info_Float :: struct {endianness: Platform_Endianness};