diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-02-24 13:45:18 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-02-24 13:45:18 +0100 |
commit | 87d66947248c5010062d6ee2a2b87f1ba92a93bb (patch) | |
tree | 4fb840902dc9db97f2981f08b280980830e20d26 /tests/structs/bug775761.c-expected | |
parent | 612bded4642734554b7658c64d90ec1c3336006d (diff) | |
download | vala-87d66947248c5010062d6ee2a2b87f1ba92a93bb.tar.gz |
codegen: Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1293
Diffstat (limited to 'tests/structs/bug775761.c-expected')
-rw-r--r-- | tests/structs/bug775761.c-expected | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/structs/bug775761.c-expected b/tests/structs/bug775761.c-expected index f6843cc0a..811f86265 100644 --- a/tests/structs/bug775761.c-expected +++ b/tests/structs/bug775761.c-expected @@ -38,6 +38,7 @@ VALA_EXTERN void foo_free (Foo* self); VALA_EXTERN void foo_copy (const Foo* self, Foo* dest); VALA_EXTERN void foo_destroy (Foo* self); +G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (Foo, foo_destroy) static void _vala_main (void); static gboolean _foo_equal (const Foo * s1, const Foo * s2); |