mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
help fmt with Type_Info_Struct and Type_Info_Bit_Field changes
This commit is contained in:
+10
-10
@@ -122,11 +122,11 @@ Type_Info_Struct_Flag :: enum u8 {
|
|||||||
|
|
||||||
Type_Info_Struct :: struct {
|
Type_Info_Struct :: struct {
|
||||||
// Slice these with `field_count`
|
// Slice these with `field_count`
|
||||||
types: [^]^Type_Info,
|
types: [^]^Type_Info `fmt:"v,field_count"`,
|
||||||
names: [^]string,
|
names: [^]string `fmt:"v,field_count"`,
|
||||||
offsets: [^]uintptr,
|
offsets: [^]uintptr `fmt:"v,field_count"`,
|
||||||
usings: [^]bool,
|
usings: [^]bool `fmt:"v,field_count"`,
|
||||||
tags: [^]string,
|
tags: [^]string `fmt:"v,field_count"`,
|
||||||
|
|
||||||
field_count: i32,
|
field_count: i32,
|
||||||
|
|
||||||
@@ -196,11 +196,11 @@ Type_Info_Soa_Pointer :: struct {
|
|||||||
}
|
}
|
||||||
Type_Info_Bit_Field :: struct {
|
Type_Info_Bit_Field :: struct {
|
||||||
backing_type: ^Type_Info,
|
backing_type: ^Type_Info,
|
||||||
names: [^]string,
|
names: [^]string `fmt:"v,field_count"`,
|
||||||
types: [^]^Type_Info,
|
types: [^]^Type_Info `fmt:"v,field_count"`,
|
||||||
bit_sizes: [^]uintptr,
|
bit_sizes: [^]uintptr `fmt:"v,field_count"`,
|
||||||
bit_offsets: [^]uintptr,
|
bit_offsets: [^]uintptr `fmt:"v,field_count"`,
|
||||||
tags: [^]string,
|
tags: [^]string `fmt:"v,field_count"`,
|
||||||
field_count: int,
|
field_count: int,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user