cppintf: c++ name

This commit is contained in:
xushiwei
2024-06-22 09:14:10 +08:00
parent 26b771f9f9
commit b4fd4a0c38
3 changed files with 8 additions and 0 deletions

View File

@@ -20,3 +20,6 @@ type CallbackVtbl struct {
//go:linkname F C.f
func F(cb *Callback)
//go:linkname G C._Z1gP9ICallback
func G(cb *Callback)