From 9f19c565d071ce0195b0304dd2f22ac8163adf0e Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sun, 17 Jul 2011 09:42:41 -0700 Subject: [PATCH] Fixed more const declarations. --- src/gtk/Includes/glib/gquark.cdecl | 6 ++-- src/gtk/Includes/glib/gvariant.cdecl | 6 ++-- src/gtk/Includes/gobject/genums.cdecl | 4 +-- src/gtk/Includes/gobject/gobject.cdecl | 14 ++++----- src/gtk/Includes/gobject/gparam.cdecl | 6 ++-- src/gtk/Includes/gobject/gsignal.cdecl | 2 +- src/gtk/Includes/gobject/gtype.cdecl | 4 +-- src/gtk/Includes/gobject/gvaluetypes.cdecl | 34 +++++++++++----------- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/gtk/Includes/glib/gquark.cdecl b/src/gtk/Includes/glib/gquark.cdecl index b74034a48..1c18497b7 100644 --- a/src/gtk/Includes/glib/gquark.cdecl +++ b/src/gtk/Includes/glib/gquark.cdecl @@ -7,10 +7,10 @@ glib-2.0/glib/gquark.h |# (typedef GQuark guint32) (extern GQuark g_quark_try_string - (string (const (* gchar)))) + (string (* (const gchar)))) ;(extern GQuark g_quark_from_static_string ; (string (const (* gchar)))) (extern GQuark g_quark_from_string - (string (const (* gchar)))) -(extern (const (* gchar)) g_quark_to_string + (string (* (const gchar)))) +(extern (* (const gchar)) g_quark_to_string (quark GQuark)) \ No newline at end of file diff --git a/src/gtk/Includes/glib/gvariant.cdecl b/src/gtk/Includes/glib/gvariant.cdecl index b108ec5c7..ebf784d6f 100644 --- a/src/gtk/Includes/glib/gvariant.cdecl +++ b/src/gtk/Includes/glib/gvariant.cdecl @@ -34,8 +34,8 @@ glib-2.0/glib/gvariant.h |# (extern (* GVariant) g_variant_ref_sink (value (* GVariant))) (extern gboolean g_variant_is_floating (value (* GVariant))) -;(extern (const (* GVariantType)) g_variant_get_type (value (* GVariant))) -(extern (const (* gchar)) g_variant_get_type_string (value (* GVariant))) +;(extern (* (const GVariantType)) g_variant_get_type (value (* GVariant))) +(extern (* (const gchar)) g_variant_get_type_string (value (* GVariant))) #;(extern gboolean g_variant_is_of_type (value (* GVariant)) - (type (const (* GVariantType)))) \ No newline at end of file + (type (* (const GVariantType)))) \ No newline at end of file diff --git a/src/gtk/Includes/gobject/genums.cdecl b/src/gtk/Includes/gobject/genums.cdecl index 51f15cde4..e1bc9f152 100644 --- a/src/gtk/Includes/gobject/genums.cdecl +++ b/src/gtk/Includes/gobject/genums.cdecl @@ -34,9 +34,9 @@ glib-2.0/gobject/genums.h |# (value (* GValue)) (v_enum gint)) (extern gint g_value_get_enum - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_flags (value (* GValue)) (v_flags guint)) (extern guint g_value_get_flags - (value (const (* GValue)))) \ No newline at end of file + (value (* (const GValue)))) \ No newline at end of file diff --git a/src/gtk/Includes/gobject/gobject.cdecl b/src/gtk/Includes/gobject/gobject.cdecl index 208927f61..efcab0e21 100644 --- a/src/gtk/Includes/gobject/gobject.cdecl +++ b/src/gtk/Includes/gobject/gobject.cdecl @@ -21,7 +21,7 @@ glib-2.0/gobject/gobject.h |# (* (function void (object (* GObject)) (property_id guint) - (value (const (* GValue))) + (value (* (const GValue))) (pspec (* GParamSpec))))) (typedef GObjectFinalizeFunc (* (function void (object (* GObject))))) @@ -51,7 +51,7 @@ glib-2.0/gobject/gobject.h |# (* (function void (object (* GObject)) (property_id guint) - (value (const (* GValue))) + (value (* (const GValue))) (pspec (* GParamSpec))))) (get_property (* (function void @@ -101,20 +101,20 @@ glib-2.0/gobject/gobject.h |# (extern (* GParamSpec) g_object_class_find_property (oclass (* GObjectClass)) - (property_name (const (* gchar)))) + (property_name (* (const gchar)))) (extern void g_object_set_property (object (* GObject)) - (property_name (const (* gchar))) - (value (const (* GValue)))) + (property_name (* (const gchar))) + (value (* (const GValue)))) (extern void g_object_get_property (object (* GObject)) - (property_name (const (* gchar))) + (property_name (* (const gchar))) (value (* GValue))) (extern void g_value_set_object (value (* GValue)) (v_object gpointer)) (extern (* GObject) g_value_get_object - (value (const (* GValue)))) + (value (* (const GValue)))) diff --git a/src/gtk/Includes/gobject/gparam.cdecl b/src/gtk/Includes/gobject/gparam.cdecl index 776750bf1..feb61fb89 100644 --- a/src/gtk/Includes/gobject/gparam.cdecl +++ b/src/gtk/Includes/gobject/gparam.cdecl @@ -47,13 +47,13 @@ glib-2.0/gobject/gparam.h |# (values_cmp (* (function gint (pspec (* GParamSpec)) - (value1 (const (* GValue))) - (value2 (const (* GValue)))))) + (value1 (* (const GValue))) + (value2 (* (const GValue)))))) ;;< private > (dummy (array gpointer 4))) (struct _GParameter ; auxillary structure for _setv() variants - (name (const (* gchar))) + (name (* (const gchar))) (value GValue)) (extern GType ;glib-2.0/gobject/gparam.h diff --git a/src/gtk/Includes/gobject/gsignal.cdecl b/src/gtk/Includes/gobject/gsignal.cdecl index e77a12611..cf9d813e9 100644 --- a/src/gtk/Includes/gobject/gsignal.cdecl +++ b/src/gtk/Includes/gobject/gsignal.cdecl @@ -9,7 +9,7 @@ glib-2.0/gobject/gsignal.h |# (extern gulong g_signal_connect_data (instance gpointer) - (detailed_signal (const (* gchar))) + (detailed_signal (* (const gchar))) (CALLBACK GCallback) (ID gpointer) (destroy_data GClosureNotify) diff --git a/src/gtk/Includes/gobject/gtype.cdecl b/src/gtk/Includes/gobject/gtype.cdecl index 6855b35c3..f992b9b11 100644 --- a/src/gtk/Includes/gobject/gtype.cdecl +++ b/src/gtk/Includes/gobject/gtype.cdecl @@ -56,7 +56,7 @@ glib-2.0/gobject/gtype.h |# (struct _GTypeQuery (type GType) - (type_name (const (* gchar))) + (type_name (* (const gchar))) (class_size guint) (instance_size guint)) @@ -71,6 +71,6 @@ glib-2.0/gobject/gtype.h |# G_TYPE_FUNDAMENTAL (type_id GType)) -(extern (const (* gchar)) +(extern (* (const gchar)) G_OBJECT_CLASS_NAME (class (* GObjectClass))) \ No newline at end of file diff --git a/src/gtk/Includes/gobject/gvaluetypes.cdecl b/src/gtk/Includes/gobject/gvaluetypes.cdecl index 4e2292636..cf10e2a10 100644 --- a/src/gtk/Includes/gobject/gvaluetypes.cdecl +++ b/src/gtk/Includes/gobject/gvaluetypes.cdecl @@ -8,69 +8,69 @@ glib-2.0/gobject/gvaluetypes.h |# (value (* GValue)) (v_char gchar)) (extern gchar g_value_get_char - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_uchar (value (* GValue)) (v_uchar guchar)) (extern guchar g_value_get_uchar - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_boolean (value (* GValue)) (v_boolean gboolean)) (extern gboolean g_value_get_boolean - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_int (value (* GValue)) (v_int gint)) (extern gint g_value_get_int - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_uint (value (* GValue)) (v_uint guint)) (extern guint g_value_get_uint - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_long (value (* GValue)) (v_long glong)) (extern glong g_value_get_long - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_ulong (value (* GValue)) (v_ulong gulong)) (extern gulong g_value_get_ulong - (value (const (* GValue)))) + (value (* (const GValue)))) ;(extern void g_value_set_int64 ; (value (* GValue)) ; (v_int64 gint64)) ;(extern gint64 g_value_get_int64 -; (value (const (* GValue)))) +; (value (* (const GValue)))) ;(extern void g_value_set_uint64 ; (value (* GValue)) ; (v_uint64 guint64)) ;(extern guint64 g_value_get_uint64 -; (value (const (* GValue)))) +; (value (* (const GValue)))) (extern void g_value_set_float (value (* GValue)) (v_float gfloat)) (extern gfloat g_value_get_float - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_double (value (* GValue)) (v_double gdouble)) (extern gdouble g_value_get_double - (value (const (* GValue)))) + (value (* (const GValue)))) (extern void g_value_set_string (value (* GValue)) - (v_string (const (* gchar)))) + (v_string (* (const gchar)))) ;(extern void g_value_set_static_string ; (value (* GValue)) -; (v_string (const (* gchar)))) -(extern (const (* gchar)) g_value_get_string - (value (const (* GValue)))) +; (v_string (* (const gchar)))) +(extern (* (const gchar)) g_value_get_string + (value (* (const GValue)))) ;(extern (* gchar) g_value_dup_string -; (value (const (* GValue)))) +; (value (* (const GValue)))) (extern void g_value_set_pointer (value (* GValue)) (v_pointer gpointer)) (extern gpointer g_value_get_pointer - (value (const (* GValue)))) \ No newline at end of file + (value (* (const GValue)))) \ No newline at end of file -- 2.25.1