cppintf: with param

This commit is contained in:
xushiwei
2024-06-22 02:39:29 +08:00
parent bfa4e08a4e
commit 26b771f9f9
3 changed files with 13 additions and 13 deletions

View File

@@ -14,8 +14,8 @@ type Callback struct {
}
type CallbackVtbl struct {
ValA unsafe.Pointer
ValB unsafe.Pointer
Val unsafe.Pointer
Calc unsafe.Pointer
}
//go:linkname F C.f