[gobject-introspection] add regression test for skipped #define
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] add regression test for skipped #define
- Date: Fri, 26 Aug 2011 15:39:28 +0000 (UTC)
commit 59beca8eda96b472b05ad850483e41386dfbc030
Author: Xavier Claessens <xclaesse gmail com>
Date: Thu Jun 16 12:36:28 2011 +0200
add regression test for skipped #define
tests/scanner/regress.c | 6 ++++++
tests/scanner/regress.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index 191ae08..04b4950 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -1338,6 +1338,12 @@ regress_test_garray_container_return (void)
/* enums / flags */
+/**
+ * NUM_REGRESS_FOO: (skip)
+ *
+ * num of elements in RegressFoo
+ */
+
GType
regress_test_enum_get_type (void)
{
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index 2c6fa59..f30fcd7 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -142,6 +142,8 @@ GVariant *regress_test_gvariant_as (void);
/* enums / flags */
+#define NUM_REGRESS_FOO
+
typedef enum
{
REGRESS_TEST_VALUE1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]