scanner: Consistently use ctype for documentation blocks
authorColin Walters <walters@verbum.org>
Mon, 13 Sep 2010 22:53:32 +0000 (18:53 -0400)
committerColin Walters <walters@verbum.org>
Mon, 13 Sep 2010 22:53:32 +0000 (18:53 -0400)
commite2195f648dfc92fd57049f12a4944682c8e0fb1d
treeda7969d6ff6de5cbe4347c2e5690fd6749b6e1d7
parent134f2bc9a37af3427371500090d563c8b5e9acd5
scanner: Consistently use ctype for documentation blocks

The "c_name" is really a fallback; use "ctype" if available which
matches the C structure name.

This fixes scanning at least TelepathyGLib where the namespace is
different from the C prefix "Tp".
giscanner/maintransformer.py
tests/scanner/utility.c