]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Fix method pointer cast if instance isn't at first position
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 7 Nov 2018 22:00:18 +0000 (23:00 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 8 Nov 2018 07:04:53 +0000 (08:04 +0100)
commite07efa002ed58bd036d1516b512fb7c2b9ff2cc4
tree1228899fb230fa7ba38dd3111a1f6efe37acae24
parent13447a2f2d5ac83c2df0930d83b6aad6e2a5acf6
codegen: Fix method pointer cast if instance isn't at first position

By unconditionally putting the instance at first position the CCode
instance_pos attribute was not accounted for.
codegen/valagtypemodule.vala