[gobject-introspection] Add g_i_marshalling_tests_gvalue_in_enum
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Add g_i_marshalling_tests_gvalue_in_enum
- Date: Tue, 10 Aug 2010 15:05:43 +0000 (UTC)
commit 482fdc866871f51cb39ed053fed3ea6d03940933
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Tue Aug 10 17:05:08 2010 +0200
Add g_i_marshalling_tests_gvalue_in_enum
gir/gimarshallingtests.c | 10 ++++++++++
gir/gimarshallingtests.h | 2 ++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gir/gimarshallingtests.c b/gir/gimarshallingtests.c
index 2c47c21..3c42003 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 467590c..6d18ecf 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]