Avoid writing out empty array if we have no _get_type functions
authorColin Walters <walters@verbum.org>
Fri, 3 Apr 2009 19:12:04 +0000 (15:12 -0400)
committerColin Walters <walters@verbum.org>
Fri, 3 Apr 2009 19:15:29 +0000 (15:15 -0400)
commit89b28cf172ae9052f81ffd83f8cdfb5b034b5961
treeef82b69f16a23004789578b7dc50c01301d283ca
parenteeb9f501dc9ff1248782ef62b96cfa84dfd1274c
Avoid writing out empty array if we have no _get_type functions

Zero length arrays are a GNU C extension, so this way we don't
fail on non-GCC.
giscanner/dumper.py