codegen: Ignore functions whose return type is ignored
authorArun Raghavan <ford_prefect@gentoo.org>
Wed, 12 Jan 2011 12:42:29 +0000 (18:12 +0530)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 12 Jan 2011 14:04:27 +0000 (15:04 +0100)
commit59fc7cb120c47fe900826f994eba799fc93b0a62
treed59159f83958d9e010ff7b4bc6d8b44f3d7ae5fc
parent778159a68516a5cd052156a789cbb800b4dac250
codegen: Ignore functions whose return type is ignored

This makes sure that if X is an ignored type, then functions that return
an object of type X (or a pointer type based on X) are also ignored.

Fixes #639293
codegen/codegen.py