[libgda] Don't declare functions G_GNUC_CONST when not necessary
- From: Vivien Malerba <vivien src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgda] Don't declare functions G_GNUC_CONST when not necessary
- Date: Mon, 14 Sep 2009 20:23:42 +0000 (UTC)
commit 62c4f65606cc86c41d8658b42dcec27feb570e90
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Sep 14 21:41:53 2009 +0200
Don't declare functions G_GNUC_CONST when not necessary
libgda/gda-value.h | 24 ++++++++++++------------
providers/jdbc/jni-wrapper.h | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/libgda/gda-value.h b/libgda/gda-value.h
index e268fe7..866bca6 100644
--- a/libgda/gda-value.h
+++ b/libgda/gda-value.h
@@ -170,28 +170,28 @@ GdaBlob *gda_string_to_blob (const gchar *str);
/* Custom data types */
GType gda_numeric_get_type (void) G_GNUC_CONST;
-gpointer gda_numeric_copy (gpointer boxed) G_GNUC_CONST;
-void gda_numeric_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_numeric_copy (gpointer boxed);
+void gda_numeric_free (gpointer boxed);
GType gda_time_get_type (void) G_GNUC_CONST;
-gpointer gda_time_copy (gpointer boxed) G_GNUC_CONST;
-void gda_time_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_time_copy (gpointer boxed);
+void gda_time_free (gpointer boxed);
GType gda_timestamp_get_type (void) G_GNUC_CONST;
-gpointer gda_timestamp_copy (gpointer boxed) G_GNUC_CONST;
-void gda_timestamp_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_timestamp_copy (gpointer boxed);
+void gda_timestamp_free (gpointer boxed);
GType gda_geometricpoint_get_type (void) G_GNUC_CONST;
-gpointer gda_geometricpoint_copy (gpointer boxed) G_GNUC_CONST;
-void gda_geometricpoint_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_geometricpoint_copy (gpointer boxed);
+void gda_geometricpoint_free (gpointer boxed);
GType gda_binary_get_type (void) G_GNUC_CONST;
-gpointer gda_binary_copy (gpointer boxed) G_GNUC_CONST;
-void gda_binary_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_binary_copy (gpointer boxed);
+void gda_binary_free (gpointer boxed);
GType gda_blob_get_type (void) G_GNUC_CONST;
-gpointer gda_blob_copy (gpointer boxed) G_GNUC_CONST;
-void gda_blob_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_blob_copy (gpointer boxed);
+void gda_blob_free (gpointer boxed);
void gda_blob_set_op (GdaBlob *blob, GdaBlobOp *op);
GType gda_value_list_get_type (void) G_GNUC_CONST;
diff --git a/providers/jdbc/jni-wrapper.h b/providers/jdbc/jni-wrapper.h
index 9434374..0c604b9 100644
--- a/providers/jdbc/jni-wrapper.h
+++ b/providers/jdbc/jni-wrapper.h
@@ -71,7 +71,7 @@ jobject gda_value_get_jni_object (const GValue *value);
GValue *gda_value_new_jni_object (JavaVM *jvm, JNIEnv *env, jobject jni_object);
void gda_value_set_jni_object (GValue *value, JavaVM *jvm, JNIEnv *env, jobject jni_object);
GType gda_jni_object_get_type (void) G_GNUC_CONST;
-gpointer gda_jni_object_copy (gpointer boxed) G_GNUC_CONST;
-void gda_jni_object_free (gpointer boxed) G_GNUC_CONST;
+gpointer gda_jni_object_copy (gpointer boxed);
+void gda_jni_object_free (gpointer boxed);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]