C libraries have a pattern of ---- HiddenType* getObj(); void freeObj(HiddenType*); ---- Is there any way I can make the GC search for a "HiddenType*" and run "freeObj" when the pointer is not found.