From 0a4ce9d65e8be259902e8884aaad3ccb526a6b5d Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Wed, 4 Dec 2024 15:02:54 +0800 Subject: [PATCH] c:FILE --- c/c.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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