[gobject-introspection] tests: Move FooSkippable to public headers to test comments in headers



commit 003e799fbb501697b21446b716b9fead2d7c9875
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 1 15:23:36 2010 -0400

    tests: Move FooSkippable to public headers to test comments in headers

 tests/scanner/foo.c |    9 ---------
 tests/scanner/foo.h |    9 ++++++++-
 2 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/tests/scanner/foo.c b/tests/scanner/foo.c
index db578ec..9f4a3ed 100644
--- a/tests/scanner/foo.c
+++ b/tests/scanner/foo.c
@@ -651,15 +651,6 @@ foo_buffer_some_method (FooBuffer *buffer)
 #define FOO_DEFINE_SHOULD_NOT_BE_EXPOSED "should not be exposed"
 
 /**
- * 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.
- */
-
-/**
  * foo_skip_me: (skip)
  * @fs: a #FooSkippable
  *
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index f31a79e..8687c94 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]