diff --git a/c/c.go b/c/c.go index e9ba88d5..571f6e06 100644 --- a/c/c.go +++ b/c/c.go @@ -33,9 +33,13 @@ type ( Float = float32 Double = float64 Pointer = unsafe.Pointer - FilePtr = unsafe.Pointer + FilePtr = *FILE ) +type FILE struct { + Unused [8]byte +} + type ( Int C.int Uint C.uint