Skip to content

Commit 9e3b47c

Browse files
fix(extgen): capitalize cgo handle function call (#1696)
1 parent abfd893 commit 9e3b47c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/extgen/templates/extension.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func registerGoObject(obj interface{}) C.uintptr_t {
4444
//export getGoObject
4545
func getGoObject(handle C.uintptr_t) interface{} {
4646
h := cgo.Handle(handle)
47-
return h.value()
47+
return h.Value()
4848
}
4949

5050
//export removeGoObject

0 commit comments

Comments
 (0)