diff --git a/c/c.go b/c/c.go index ed2d4cff..0b39ed8b 100644 --- a/c/c.go +++ b/c/c.go @@ -26,8 +26,6 @@ const ( type ( Char = int8 - Int = C.int - Uint = C.uint Long = int32 Ulong = uint32 LongLong = int64 @@ -38,6 +36,11 @@ type ( FilePtr = unsafe.Pointer ) +type ( + Int C.int + Uint C.uint +) + type integer interface { ~int | ~uint | ~uintptr | ~int32 | ~uint32 | ~int64 | ~uint64 }