Fix typecheck in case of multiple instances of type meta data
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Oct 2012 23:25:48 +0000 (19:25 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Oct 2012 02:01:17 +0000 (22:01 -0400)
commit4f9cf6ec4465411076d4facf6ab67a272f5183d9
treefdae1ff1e674d6f43009e20b2ba11521eb6d1cf1
parente0680250e6972c280a35312a15170e5cd5f3d4dc
Fix typecheck in case of multiple instances of type meta data

In most cases the pointer equality test is sufficient.  However, in
some cases, depending on how things are split across shared objects,
we can end up with multiple instances of the interface metadata
constants.  So if the pointers match, the interfaces are equal, if
they don't match we have to compare the interface names.
src/connection.c