diff options
author | Philip Chimento <philip@endlessm.com> | 2018-03-11 22:35:34 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2018-03-31 00:45:50 +0000 |
commit | b6066113b9472c0726c37f0cc21e23791f9d275f (patch) | |
tree | 12bb82e1614e8cd35d0a76202d289e1517548408 /tests/gimarshallingtests.h | |
parent | 4c1f771104f9f637c4fc1d0e914c1c4e1c036709 (diff) | |
download | gobject-introspection-b6066113b9472c0726c37f0cc21e23791f9d275f.tar.gz |
tests: Fix const-ness warnings
Compiling these gives warnings about const or non-const expressions. Fix
it by using the correct const-ness of types.
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r-- | tests/gimarshallingtests.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h index 0c59952e..345f1538 100644 --- a/tests/gimarshallingtests.h +++ b/tests/gimarshallingtests.h @@ -506,7 +506,7 @@ void gi_marshalling_tests_utf8_full_in (gchar *utf8); _GI_TEST_EXTERN -void gi_marshalling_tests_utf8_none_out (gchar **utf8); +void gi_marshalling_tests_utf8_none_out (const gchar **utf8); _GI_TEST_EXTERN void gi_marshalling_tests_utf8_full_out (gchar **utf8); @@ -517,7 +517,7 @@ void gi_marshalling_tests_utf8_dangling_out (gchar **utf8); _GI_TEST_EXTERN -void gi_marshalling_tests_utf8_none_inout (gchar **utf8); +void gi_marshalling_tests_utf8_none_inout (const gchar **utf8); _GI_TEST_EXTERN void gi_marshalling_tests_utf8_full_inout (gchar **utf8); @@ -781,7 +781,7 @@ void gi_marshalling_tests_array_in_nonzero_nonlen (gint first, const guint8 *cha _GI_TEST_EXTERN -gchar **gi_marshalling_tests_array_zero_terminated_return (void); +const gchar **gi_marshalling_tests_array_zero_terminated_return (void); _GI_TEST_EXTERN gchar **gi_marshalling_tests_array_zero_terminated_return_null (void); @@ -798,11 +798,11 @@ void gi_marshalling_tests_array_zero_terminated_in (gchar **utf8s); _GI_TEST_EXTERN -void gi_marshalling_tests_array_zero_terminated_out (gchar ***utf8s); +void gi_marshalling_tests_array_zero_terminated_out (const gchar ***utf8s); _GI_TEST_EXTERN -void gi_marshalling_tests_array_zero_terminated_inout (gchar ***utf8s); +void gi_marshalling_tests_array_zero_terminated_inout (const gchar ***utf8s); _GI_TEST_EXTERN |