summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.h
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2011-07-02 15:31:38 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2011-08-18 15:15:04 +0200
commit8a4e168dec871fca394f1bc24f80f9a6abb8ceec (patch)
tree58e1a594ef66fb78bf76814aabbfe8dd0cafd626 /tests/gimarshallingtests.h
parente9b0c8013dd15d643e46dd6e763585d5fe1b5b45 (diff)
downloadgobject-introspection-8a4e168dec871fca394f1bc24f80f9a6abb8ceec.tar.gz
Forbid GPtrArrays holding non-pointer types
It should be safe for bindings to assume that GPtrArrays hold only pointers (or values as big as it), so there is no need to go through hoops for converting smaller integers when marshalling. Libraries that need arrays of integers should use GArray. https://bugzilla.gnome.org/show_bug.cgi?id=652753
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r--tests/gimarshallingtests.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index 63a4a6a3..7d44d393 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -423,12 +423,10 @@ void gi_marshalling_tests_garray_utf8_container_inout (GArray **array_);
void gi_marshalling_tests_garray_utf8_full_inout (GArray **array_);
/* GPtrArray */
-GPtrArray *gi_marshalling_tests_gptrarray_int_none_return (void);
GPtrArray *gi_marshalling_tests_gptrarray_utf8_none_return (void);
GPtrArray *gi_marshalling_tests_gptrarray_utf8_container_return (void);
GPtrArray *gi_marshalling_tests_gptrarray_utf8_full_return (void);
-void gi_marshalling_tests_gptrarray_int_none_in (GPtrArray *parray_);
void gi_marshalling_tests_gptrarray_utf8_none_in (GPtrArray *parray_);
void gi_marshalling_tests_gptrarray_utf8_none_out (GPtrArray **parray_);