[libgda] GdaSqlStatement: Allow this to be used from C++.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaSqlStatement: Allow this to be used from C++.
- Date: Wed, 12 May 2010 09:02:34 +0000 (UTC)
commit 6d251b2307e7a0a85e4f859baf5c23d502e76a86
Author: Murray Cumming <murrayc murrayc com>
Date: Wed May 12 10:57:36 2010 +0200
GdaSqlStatement: Allow this to be used from C++.
* libgda/sql-parser/gda-statement-struct.h: Add G_BEGIN_DECLS and
G_END_DECLS to fix the linking when used via C++.
libgda/sql-parser/gda-statement-struct.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgda/sql-parser/gda-statement-struct.h b/libgda/sql-parser/gda-statement-struct.h
index e20e71c..0510477 100644
--- a/libgda/sql-parser/gda-statement-struct.h
+++ b/libgda/sql-parser/gda-statement-struct.h
@@ -25,6 +25,8 @@
#include <sql-parser/gda-statement-struct-decl.h>
#include <libgda/gda-meta-store.h>
+G_BEGIN_DECLS
+
struct _GdaSqlStatement {
gchar *sql;
GdaSqlStatementType stmt_type;
@@ -54,4 +56,6 @@ gboolean gda_sql_statement_normalize (GdaSqlStatement
GdaSqlStatementContentsInfo *gda_sql_statement_get_contents_infos (GdaSqlStatementType type) ;
+G_END_DECLS
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]