]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 22 Jul 2019 10:49:53 +0000 (12:49 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 6 Aug 2019 12:00:12 +0000 (14:00 +0200)
commitc52355b6ea3e12c77d2ba504b7b6865b7d7ce848
treead6302af2d31bf24bc8619c86b0eb04d8854d527
parentbe58405e11857f48b9d645fbd4b3f470089901e5
codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces

Avoids "comparison of distinct pointer types lacks a cast" warning for
such cases.
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/objects/instance-comparison.vala [new file with mode: 0644]