Bug 565147 - Add (type) annotation to override the C type definition
authorColin Walters <walters@verbum.org>
Thu, 19 Feb 2009 17:16:17 +0000 (12:16 -0500)
committerColin Walters <walters@verbum.org>
Mon, 16 Mar 2009 18:05:23 +0000 (14:05 -0400)
commit6531a094d73703c0c16777bdc82252688d1c7d51
treeddcb4921fc322d27381e90060f2e2776f4dfada7
parent90526643ceb248c56e40f5b6755c3cbb91c3857c
Bug 565147 - Add (type) annotation to override the C type definition

We previously supported (type) on signals only, extend it to all cases.
This is useful for a few cases where libraries use a superclass like GtkWidget*
for C convenience, where the actual type is a subclass.
giscanner/annotationparser.py
tests/scanner/annotation-1.0-expected.gir
tests/scanner/annotation-1.0-expected.tgir
tests/scanner/annotation.c
tests/scanner/annotation.h
tests/scanner/foo-1.0-expected.gir
tests/scanner/foo-1.0-expected.tgir
tests/scanner/foo.c
tests/scanner/foo.h