From 8c7bbdbaea747f465676380eae4104607ef99696 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 4 Aug 2005 15:49:30 +0000 Subject: 2005-08-04 Colin Walters * glib/dbus-gvalue-utils.h (_dbus_g_type_specialized_builtins_init) (dbus_g_type_is_fixed, dbus_g_type_fixed_get_size) (dbus_gvalue_set_from_pointer, dbus_g_hash_table_value_foreach) (dbus_g_hash_table_insert_values, dbus_g_hash_table_insert_steal_values) (dbus_gtype_is_valid_hash_key, dbus_gtype_is_valid_hash_value) (dbus_g_hash_func_from_gtype, dbus_g_hash_free_from_gtype) (dbus_g_hash_equal_from_gtype, dbus_gvalue_stor, dbus_gvalue_take): * glib/dbus-gvalue.h (dbus_g_value_types_init) (dbus_gvalue_demarshal, dbus_gvalue_demarshal_variant) (dbus_gvalue_demarshal_message, dbus_gvalue_marshal): Prefix name with _ to ensure they're not exported. All callers updated. * glib/dbus-gvalue.c (typecode_to_gtype) (dbus_typecode_maps_to_basic, basic_typecode_to_gtype) (signature_iter_to_g_type_dict) (signature_iter_to_g_type_array) (dbus_gtype_from_signature_iter, dbus_gtype_from_signature) (dbus_gtypes_from_arg_signature): Move to dbus-gsignature.c. * glib/dbus-binding-tool-glib.c (dbus_binding_tool_output_glib_server): Call dbus_g_type_specialized_builtins_init instead of dbus_g_value_types_init. (dbus_binding_tool_output_glib_client): Ditto. * glib/Makefile.am (DBUS_GLIB_INTERNALS): Add dbus-gsignature.c and dbus-gsignature.h * test/glib/test-service-glib.c (my_object_rec_arrays): Delete unused variable. --- glib/dbus-gvalue-utils.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'glib/dbus-gvalue-utils.h') diff --git a/glib/dbus-gvalue-utils.h b/glib/dbus-gvalue-utils.h index 4f81081e..139f4a31 100644 --- a/glib/dbus-gvalue-utils.h +++ b/glib/dbus-gvalue-utils.h @@ -29,39 +29,39 @@ G_BEGIN_DECLS -void dbus_g_type_specialized_builtins_init (void); +void _dbus_g_type_specialized_builtins_init (void); -gboolean dbus_g_type_is_fixed (GType gtype); -guint dbus_g_type_fixed_get_size (GType gtype); +gboolean _dbus_g_type_is_fixed (GType gtype); +guint _dbus_g_type_fixed_get_size (GType gtype); -gboolean dbus_gvalue_set_from_pointer (GValue *value, +gboolean _dbus_gvalue_set_from_pointer (GValue *value, gconstpointer storage); typedef void (*DBusGHashValueForeachFunc) (GValue * key, GValue *val, gpointer data); -void dbus_g_hash_table_value_foreach (GHashTable *table, +void _dbus_g_hash_table_value_foreach (GHashTable *table, GType hash_type, DBusGHashValueForeachFunc func, gpointer data); -void dbus_g_hash_table_insert_values (GHashTable *table, +void _dbus_g_hash_table_insert_values (GHashTable *table, GValue *key_val, GValue *value_val); -void dbus_g_hash_table_insert_steal_values (GHashTable *table, +void _dbus_g_hash_table_insert_steal_values (GHashTable *table, GValue *key_val, GValue *value_val); -gboolean dbus_gtype_is_valid_hash_key (GType type); -gboolean dbus_gtype_is_valid_hash_value (GType type); +gboolean _dbus_gtype_is_valid_hash_key (GType type); +gboolean _dbus_gtype_is_valid_hash_value (GType type); -GHashFunc dbus_g_hash_func_from_gtype (GType gtype); -GEqualFunc dbus_g_hash_equal_from_gtype (GType gtype); -GDestroyNotify dbus_g_hash_free_from_gtype (GType gtype); +GHashFunc _dbus_g_hash_func_from_gtype (GType gtype); +GEqualFunc _dbus_g_hash_equal_from_gtype (GType gtype); +GDestroyNotify _dbus_g_hash_free_from_gtype (GType gtype); -gboolean dbus_gvalue_store (GValue *value, +gboolean _dbus_gvalue_store (GValue *value, gpointer storage); -gboolean dbus_gvalue_take (GValue *value, +gboolean _dbus_gvalue_take (GValue *value, GTypeCValue *cvalue); gboolean _dbus_gtype_can_signal_error (GType gtype); -- cgit