Simplified type system

This commit is contained in:
Eduard Urbach 2025-02-04 23:58:01 +01:00
parent 71d7cdf5b2
commit bd0a468282
Signed by: eduard
GPG key ID: 49226B848C78F6C8
16 changed files with 70 additions and 55 deletions

View file

@ -1,16 +0,0 @@
package types
var (
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 (
Float = Float64
Int = Int64
)