summaryrefslogtreecommitdiff
path: root/giscanner/xmlwriter.py
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2008-10-11 14:42:32 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2008-10-11 14:42:32 +0000
commitf1be097d3be66639374c160225f01cfd42275953 (patch)
tree8025cb7d80642b03a2ca7b18dcd6970113ee993b /giscanner/xmlwriter.py
parentc8eb431a039832d2034f0d012563008af43d80c0 (diff)
downloadgobject-introspection-f1be097d3be66639374c160225f01cfd42275953.tar.gz
Bug 552376: scanner generates wrong names for enum members when there's no
2008-10-11 Lucas Rocha <lucasr@gnome.org> Bug 552376: scanner generates wrong names for enum members when there's no defined gtype. * giscanner/utils.py (strip_common_prefix): Always strip common prefix exactly up to the last "_", and not beyond. * tests/scanner/foo.h (FooEnumNoType): add FOO_ENUM_NEUF. The point here is that the first character after the last '_' should should be the same as the character in the same position on the type name. * tests/scanner/foo-expected.gir: test that svn path=/trunk/; revision=664
Diffstat (limited to 'giscanner/xmlwriter.py')
0 files changed, 0 insertions, 0 deletions