summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-10 17:05:08 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-10 17:05:17 +0200
commit482fdc866871f51cb39ed053fed3ea6d03940933 (patch)
treefe49a169e207c3e903ef5fa0698b8bdfb74b889f /gir
parent684a2416340c042b5a8f2bd6e3ac48e77e3aa545 (diff)
downloadgobject-introspection-482fdc866871f51cb39ed053fed3ea6d03940933.tar.gz
Add g_i_marshalling_tests_gvalue_in_enum
Diffstat (limited to 'gir')
-rw-r--r--gir/gimarshallingtests.c10
-rw-r--r--gir/gimarshallingtests.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/gir/gimarshallingtests.c b/gir/gimarshallingtests.c
index 2c47c216..3c420031 100644
--- a/gir/gimarshallingtests.c
+++ b/gir/gimarshallingtests.c
@@ -2434,6 +2434,16 @@ g_i_marshalling_tests_gvalue_in (GValue *value)
}
/**
+ * g_i_marshalling_tests_gvalue_in_enum:
+ * @value: (transfer none):
+ */
+void
+g_i_marshalling_tests_gvalue_in_enum (GValue *value)
+{
+ g_assert(g_value_get_enum(value) == G_I_MARSHALLING_TESTS_ENUM_VALUE3);
+}
+
+/**
* g_i_marshalling_tests_gvalue_out:
* @value: (out) (transfer none):
*/
diff --git a/gir/gimarshallingtests.h b/gir/gimarshallingtests.h
index 467590c1..6d18ecff 100644
--- a/gir/gimarshallingtests.h
+++ b/gir/gimarshallingtests.h
@@ -397,6 +397,8 @@ GValue *g_i_marshalling_tests_gvalue_return (void);
void g_i_marshalling_tests_gvalue_in (GValue *value);
+void g_i_marshalling_tests_gvalue_in_enum (GValue *value);
+
void g_i_marshalling_tests_gvalue_out (GValue **value);
void g_i_marshalling_tests_gvalue_inout (GValue **value);