]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Fix custom reference-counting for compact classes f413cb32470d9c2598416772bc0166c6f974ec9f
authorSimon Werbeck <simon.werbeck@gmail.com>
Mon, 30 Sep 2019 14:37:33 +0000 (16:37 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 9 Oct 2019 06:10:03 +0000 (08:10 +0200)
commitf413cb32470d9c2598416772bc0166c6f974ec9f
tree5e9ec232503accf07c2e5642a3d5b5a691fe2ea1
parent91fc9702594fe7a59b06664aa077cee51960f72c
codegen: Fix custom reference-counting for compact classes

This fix defers emitting G_DEFINE_AUTOPTR_CLEANUP_FUNC when a compact
class defines custom unref function and set by ccode "unref_function".
codegen/valagtypemodule.vala
tests/Makefile.am
tests/objects/compact-class-custom-ref.vala [new file with mode: 0644]