From 87d66947248c5010062d6ee2a2b87f1ba92a93bb Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 24 Feb 2022 13:45:18 +0100 Subject: codegen: Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs Fixes https://gitlab.gnome.org/GNOME/vala/issues/1293 --- tests/structs/struct-boxed-cast.c-expected | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/structs/struct-boxed-cast.c-expected') diff --git a/tests/structs/struct-boxed-cast.c-expected b/tests/structs/struct-boxed-cast.c-expected index ebaa0fb62..6b351221a 100644 --- a/tests/structs/struct-boxed-cast.c-expected +++ b/tests/structs/struct-boxed-cast.c-expected @@ -40,6 +40,7 @@ VALA_EXTERN void bar_free (Bar* self); VALA_EXTERN void bar_copy (const Bar* self, Bar* dest); VALA_EXTERN void bar_destroy (Bar* self); +G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (Bar, bar_destroy) static void _vala_main (void); void -- cgit v1.2.1