Implemented structs
This commit is contained in:
parent
50fc8c6249
commit
e36d9fade3
32 changed files with 267 additions and 63 deletions
|
@ -1,13 +1,13 @@
|
|||
package types
|
||||
|
||||
var (
|
||||
Float64 = &Type{Name: "Float64", Size: 8}
|
||||
Float32 = &Type{Name: "Float32", Size: 4}
|
||||
Int64 = &Type{Name: "Int64", Size: 8}
|
||||
Int32 = &Type{Name: "Int32", Size: 4}
|
||||
Int16 = &Type{Name: "Int16", Size: 2}
|
||||
Int8 = &Type{Name: "Int8", Size: 1}
|
||||
Pointer = &Type{Name: "Pointer", Size: 8}
|
||||
Float64 = &Struct{Name: "Float64", Size: 8}
|
||||
Float32 = &Struct{Name: "Float32", Size: 4}
|
||||
Int64 = &Struct{Name: "Int64", Size: 8}
|
||||
Int32 = &Struct{Name: "Int32", Size: 4}
|
||||
Int16 = &Struct{Name: "Int16", Size: 2}
|
||||
Int8 = &Struct{Name: "Int8", Size: 1}
|
||||
PointerAny = &Pointer{To: nil}
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue