[libgda] GIR: remove private symbols



commit 9d3a80f301dad2551e76284139ad84ab77ae4e9b
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Nov 21 17:28:06 2019 -0600

    GIR: remove private symbols
    
    Fix issue #204

 libgda/gda-decl.h  | 7 -------
 libgda/gda-util.c  | 8 ++++++++
 libgda/meson.build | 7 ++++++-
 3 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/libgda/gda-decl.h b/libgda/gda-decl.h
index 79484165e..d67a28134 100644
--- a/libgda/gda-decl.h
+++ b/libgda/gda-decl.h
@@ -72,12 +72,5 @@ typedef gboolean (*GdaSqlReservedKeywordsFunc) (const gchar *word);
 typedef struct _GdaTreeNode GdaTreeNode;
 typedef struct _GdaTreeNodeClass GdaTreeNodeClass;
 
-/*
- * Win32 adaptations
- */
-#ifdef G_OS_WIN32
-#define strtok_r(s,d,p) strtok(s,d)
-#endif 
-
 #endif
 
diff --git a/libgda/gda-util.c b/libgda/gda-util.c
index e1fc481b1..d3705287a 100644
--- a/libgda/gda-util.c
+++ b/libgda/gda-util.c
@@ -64,6 +64,14 @@
 #include <libgda/sqlite/keywords_hash.h>
 #include "keywords_hash.code" /* this one is dynamically generated */
 
+/*
+ * Win32 adaptations
+ */
+#ifdef G_OS_WIN32
+#define strtok_r(s,d,p) strtok(s,d)
+#endif
+
+
 /**
  * gda_g_type_to_string:
  * @type: Type to convert from.
diff --git a/libgda/meson.build b/libgda/meson.build
index 899688f58..37d780cca 100644
--- a/libgda/meson.build
+++ b/libgda/meson.build
@@ -103,7 +103,6 @@ libgda_headers = files([
        'gda-server-provider-private.h',
        'gda-server-provider-impl.h',
        'gda-statement.h',
-       'gda-statement-extra.h',
        'gda-sql-builder.h',
        'gda-transaction-status.h',
        'gda-transaction-status-private.h',
@@ -120,9 +119,15 @@ libgda_headers = files([
        'gda-xa-transaction.h',
        'gda-data-pivot.h'
 ])
+
+libgda_headers_private = files([
+       'gda-statement-extra.h',
+])
+
 libgda_headers_all = []
 libgda_headers_all += [
        libgda_headers,
+       libgda_headers_private,
        gda_enum_headers
        ]
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]