mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
fix G_DEFINE_AUTO_CLEANUP_FREE_FUNC on non-GCC
Add the missing 'none' argument to this macro in the non-GCC case. The none parameter was added after the others and I forgot to update the non-GCC case. https://bugzilla.gnome.org/show_bug.cgi?id=743640
This commit is contained in:
parent
08f7f97696
commit
57a49f6891
@ -402,7 +402,7 @@
|
||||
|
||||
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
|
||||
#define G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(TypeName, func)
|
||||
#define G_DEFINE_AUTO_CLEANUP_FREE_FUNC(TypeName, func)
|
||||
#define G_DEFINE_AUTO_CLEANUP_FREE_FUNC(TypeName, func, none)
|
||||
|
||||
/* no declaration of g_auto() or g_autoptr() here */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user