cleanup protodef type locations

This commit is contained in:
adman
2026-03-19 21:57:05 +01:00
parent 57e78478cd
commit 8c6172dcda
6 changed files with 87 additions and 99 deletions
+65 -5
View File
@@ -1,7 +1,67 @@
package protodef
type BitField []struct {
Name string
Singed bool
Size int
}
type (
BitFieldEntry struct {
Name string
Singed bool
Size int
}
BitField []BitFieldEntry
EntryHolderSet struct {
BaseName string
Otherwise struct {
Name string
Type any
}
}
Switch struct {
CompareTo string
Fields map[string]any
Default any
}
// TypeForward is not a real type, I just didn't implement it all yet, and it's just the underlying type
TypeForward struct {
Type string
}
Buffer struct {
Count int
CountType any
}
Array struct {
CountType any
Count string
Type any
}
Container []struct {
Name string
Type any
Anon bool
}
Mapper struct {
Mappings map[string]string
Type any
}
RegistryEntryHolderSet struct {
Base struct {
Name string
Type any
}
Otherwise struct {
Name string
Type any
}
}
BitFlags struct {
Flags []string
Type any
}
)