gobject: add support for g_auto() and g_autoptr()

Add support to libgobject types for the new cleanup macros.

https://bugzilla.gnome.org/show_bug.cgi?id=743640
This commit is contained in:
Ryan Lortie
2015-01-28 11:46:34 +00:00
parent 663834671d
commit 3d5de34def
3 changed files with 29 additions and 0 deletions

View File

@@ -35,6 +35,8 @@
#include <gobject/gvaluearray.h>
#include <gobject/gvaluetypes.h>
#include <gobject/gobject-autocleanups.h>
#undef __GLIB_GOBJECT_H_INSIDE__
#endif /* __GLIB_GOBJECT_H__ */