summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-11-23 10:52:09 -0500
committerDan Winship <danw@gnome.org>2009-11-23 10:52:09 -0500
commitab127091d84336a851e0cec9cfdd0435065d9e2a (patch)
treeee774a422964ee3d70e531521ef3f5dc814a4ea8 /tests/scanner/foo.h
parent0bb6ce54f796c00fcf370de07f3bfcfa8d574834 (diff)
downloadgobject-introspection-ab127091d84336a851e0cec9cfdd0435065d9e2a.tar.gz
Fix enum prefix stripping to work only up to word boundaries
https://bugzilla.gnome.org/show_bug.cgi?id=602672
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 7c2afe63..199d57a0 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -188,6 +188,13 @@ typedef enum
FOO_ENUM_FULLNAME_THREE
} FooEnumFullname;
+typedef enum
+{
+ FOO_ADDRESS_INVALID,
+ FOO_ADDRESS_IPV4,
+ FOO_ADDRESS_IPV6
+} FooAddressType;
+
typedef struct _FooBoxed FooBoxed;
GType foo_boxed_get_type (void) G_GNUC_CONST;