summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-01 15:23:36 -0400
committerColin Walters <walters@verbum.org>2010-09-01 15:23:36 -0400
commit003e799fbb501697b21446b716b9fead2d7c9875 (patch)
tree83f411fa784680cbc75e03dc0ded309f81da3195 /tests/scanner/foo.h
parentf7f93038881b1fe4be7356dc0ce2b1af0776fac4 (diff)
downloadgobject-introspection-003e799fbb501697b21446b716b9fead2d7c9875.tar.gz
tests: Move FooSkippable to public headers to test comments in headers
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index f31a79e2..8687c940 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -385,7 +385,14 @@ typedef enum
void foo_some_variant (guint x, va_list args);
void foo_some_variant_ptr (guint x, va_list *args);
-/* Should be skipped due to annotations */
+/**
+ * FooSkippable: (skip)
+ * @FOO_SKIPPABLE_ONE: a skippable enum value
+ * @FOO_SKIPPABLE_TWO: another skippable enum value
+ *
+ * Some type that is only interesting from C and should not be
+ * exposed to language bindings.
+ */
typedef enum {
FOO_SKIPPABLE_ONE,
FOO_SKIPPABLE_TWO