diff --git a/c/c.go b/c/c.go index a68a4720..e9ba88d5 100644 --- a/c/c.go +++ b/c/c.go @@ -51,6 +51,15 @@ type integer interface { ~int | ~uint | ~uintptr | ~int32 | ~uint32 | ~int64 | ~uint64 } +type SizeT = uintptr + +type IntptrT = uintptr +type UintptrT = uintptr +type Int8T = int8 +type Int16T = int16 +type Int32T = int32 +type Int64T = int64 + //go:linkname Str llgo.cstr func Str(string) *Char