Unref and free functions should not be exposed to memory-managed languages
@ptomato
Submitted by Philip Chimento Link to original bug (#785933)
Description
It would be nice if unref and free functions were annotated somehow so that bindings for memory-managed languages could not expose them. (As a heuristic that would allow most code to remain unchanged, anything ending in _free() or _unref() could get the annotation by default.)
I know there's already a bug open for unref-func annotations on objects/structs, but this annotation would be needed on the functions themselves.