Re:Native Mac APIs for Go
by progrium on Thursday February 04, 2021 @02:07PM
(#26028656)
age old problem, i should definitely warn people about memory management implications. what would you put in the readme for this?
[ Parent
| on HN ]
Re:Native Mac APIs for Go
by lunixbochs on Thursday February 04, 2021 @02:36PM
(#26028920)
Do the BridgeSupport files annotate whether you own returned objects and need to release them? Sprinkling in runtime.SetFinalizer calls based on ownership would be slightly nicer than exposing release/retain.