fix(extgen): capitalize cgo handle function call (#1696)

This commit is contained in:
Alexandre Daubois
2025-06-27 14:26:09 +02:00
committed by GitHub
parent abfd893d88
commit 9e3b47c52f

View File

@@ -44,7 +44,7 @@ func registerGoObject(obj interface{}) C.uintptr_t {
//export getGoObject
func getGoObject(handle C.uintptr_t) interface{} {
h := cgo.Handle(handle)
return h.value()
return h.Value()
}
//export removeGoObject