Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add autoUnref function to permit easy RAII on g_objects
instead of GObject* object = g_whatever_function(..), do auto object = autoUnref(g_whatever_function(..)) and object will be unrefed at scope end.
- Loading branch information