gnomemm r2095 - in libgdamm/trunk: . libgda/src tools/m4
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r2095 - in libgdamm/trunk: . libgda/src tools/m4
- Date: Fri, 13 Mar 2009 08:35:09 +0000 (UTC)
Author: murrayc
Date: Fri Mar 13 08:35:09 2009
New Revision: 2095
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2095&view=rev
Log:
2009-03-13 Murray Cumming <murrayc murrayc com>
* libgda/src/Makefile_list_of_hg.am_fragment:
* libgda/src/error.ccg:
* libgda/src/error.hg: Removed these because the corresponding C header is
now not installed by libgda. This is better anyway.
* libgda/src/libgda_signals.defs: Hand-corrected mentions of GdaError to
GError.
* tools/m4/convert_libgdamm.m4: Move signal-specific Value and Error
conversions out of here.
* libgda/src/dataproxy.hg:
* libgda/src/holder.hg:
* libgda/src/set.hg: Use Glib::Error instead of Gda::Error.
Make Value and ustring string parameters const references.
Removed:
libgdamm/trunk/libgda/src/error.ccg
libgdamm/trunk/libgda/src/error.hg
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment
libgdamm/trunk/libgda/src/batch.hg
libgdamm/trunk/libgda/src/blob.ccg
libgdamm/trunk/libgda/src/blob.hg
libgdamm/trunk/libgda/src/blobop.ccg
libgdamm/trunk/libgda/src/blobop.hg
libgdamm/trunk/libgda/src/column.hg
libgdamm/trunk/libgda/src/config.hg
libgdamm/trunk/libgda/src/connectionevent.hg
libgdamm/trunk/libgda/src/dataaccesswrapper.hg
libgdamm/trunk/libgda/src/datacomparator.hg
libgdamm/trunk/libgda/src/datahandler.hg
libgdamm/trunk/libgda/src/datamodel.hg
libgdamm/trunk/libgda/src/datamodelarray.hg
libgdamm/trunk/libgda/src/datamodelimport.hg
libgdamm/trunk/libgda/src/datamodeliter.hg
libgdamm/trunk/libgda/src/dataproxy.hg
libgdamm/trunk/libgda/src/dataselect.hg
libgdamm/trunk/libgda/src/handlerbin.hg
libgdamm/trunk/libgda/src/handlerboolean.hg
libgdamm/trunk/libgda/src/handlernumerical.hg
libgdamm/trunk/libgda/src/handlerstring.hg
libgdamm/trunk/libgda/src/handlertime.hg
libgdamm/trunk/libgda/src/handlertype.hg
libgdamm/trunk/libgda/src/holder.hg
libgdamm/trunk/libgda/src/libgda_signals.defs
libgdamm/trunk/libgda/src/metastore.hg
libgdamm/trunk/libgda/src/metastruct.hg
libgdamm/trunk/libgda/src/quarklist.ccg
libgdamm/trunk/libgda/src/quarklist.hg
libgdamm/trunk/libgda/src/row.hg
libgdamm/trunk/libgda/src/serveroperation.hg
libgdamm/trunk/libgda/src/serverprovider.hg
libgdamm/trunk/libgda/src/set.hg
libgdamm/trunk/libgda/src/sqlparser.hg
libgdamm/trunk/libgda/src/statement.hg
libgdamm/trunk/libgda/src/transactionstatus.hg
libgdamm/trunk/libgda/src/xatransaction.hg
libgdamm/trunk/tools/m4/convert_libgdamm.m4
Modified: libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment
==============================================================================
--- libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment (original)
+++ libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment Fri Mar 13 08:35:09 2009
@@ -12,7 +12,7 @@
serverprovider.hg serveroperation.hg transactionstatus.hg \
set.hg row.hg column.hg holder.hg statement.hg sqlparser.hg \
batch.hg metastore.hg metastruct.hg config.hg \
- blobop.hg blob.hg quarklist.hg error.hg datacomparator.hg \
+ blobop.hg blob.hg quarklist.hg datacomparator.hg \
dataaccesswrapper.hg dataselect.hg xatransaction.hg
Modified: libgdamm/trunk/libgda/src/batch.hg
==============================================================================
--- libgdamm/trunk/libgda/src/batch.hg (original)
+++ libgdamm/trunk/libgda/src/batch.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* batch.h
*
Modified: libgdamm/trunk/libgda/src/blob.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/blob.ccg (original)
+++ libgdamm/trunk/libgda/src/blob.ccg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* blob.ccg
*
Modified: libgdamm/trunk/libgda/src/blob.hg
==============================================================================
--- libgdamm/trunk/libgda/src/blob.hg (original)
+++ libgdamm/trunk/libgda/src/blob.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* blob.h
*
Modified: libgdamm/trunk/libgda/src/blobop.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/blobop.ccg (original)
+++ libgdamm/trunk/libgda/src/blobop.ccg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* blob-op.ccg
*
Modified: libgdamm/trunk/libgda/src/blobop.hg
==============================================================================
--- libgdamm/trunk/libgda/src/blobop.hg (original)
+++ libgdamm/trunk/libgda/src/blobop.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* blob-op.h
*
Modified: libgdamm/trunk/libgda/src/column.hg
==============================================================================
--- libgdamm/trunk/libgda/src/column.hg (original)
+++ libgdamm/trunk/libgda/src/column.hg Fri Mar 13 08:35:09 2009
@@ -1,5 +1,5 @@
/* $Id: column.hg,v 1.14 2006/11/30 06:58:55 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* modelcolumnattributes.h
*
Modified: libgdamm/trunk/libgda/src/config.hg
==============================================================================
--- libgdamm/trunk/libgda/src/config.hg (original)
+++ libgdamm/trunk/libgda/src/config.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* config.h
*
Modified: libgdamm/trunk/libgda/src/connectionevent.hg
==============================================================================
--- libgdamm/trunk/libgda/src/connectionevent.hg (original)
+++ libgdamm/trunk/libgda/src/connectionevent.hg Fri Mar 13 08:35:09 2009
@@ -1,7 +1,7 @@
/* $Id: connectionevent.hg,v 1.2 2006/06/11 08:12:29 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
-/* error.h
+/* connectionevent.h
*
* Copyright 2003 libgdamm Development Team
*
Modified: libgdamm/trunk/libgda/src/dataaccesswrapper.hg
==============================================================================
--- libgdamm/trunk/libgda/src/dataaccesswrapper.hg (original)
+++ libgdamm/trunk/libgda/src/dataaccesswrapper.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* dataaccesswrapper.h
*
Modified: libgdamm/trunk/libgda/src/datacomparator.hg
==============================================================================
--- libgdamm/trunk/libgda/src/datacomparator.hg (original)
+++ libgdamm/trunk/libgda/src/datacomparator.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* datacomparator.h
*
Modified: libgdamm/trunk/libgda/src/datahandler.hg
==============================================================================
--- libgdamm/trunk/libgda/src/datahandler.hg (original)
+++ libgdamm/trunk/libgda/src/datahandler.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* datahandler.h
*
Modified: libgdamm/trunk/libgda/src/datamodel.hg
==============================================================================
--- libgdamm/trunk/libgda/src/datamodel.hg (original)
+++ libgdamm/trunk/libgda/src/datamodel.hg Fri Mar 13 08:35:09 2009
@@ -1,5 +1,5 @@
/* $Id: datamodel.hg,v 1.32 2006/12/15 15:02:27 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* datamodel.h
*
Modified: libgdamm/trunk/libgda/src/datamodelarray.hg
==============================================================================
--- libgdamm/trunk/libgda/src/datamodelarray.hg (original)
+++ libgdamm/trunk/libgda/src/datamodelarray.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* datamodelarray.h
*
Modified: libgdamm/trunk/libgda/src/datamodelimport.hg
==============================================================================
--- libgdamm/trunk/libgda/src/datamodelimport.hg (original)
+++ libgdamm/trunk/libgda/src/datamodelimport.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* datamodelimport.h
*
Modified: libgdamm/trunk/libgda/src/datamodeliter.hg
==============================================================================
--- libgdamm/trunk/libgda/src/datamodeliter.hg (original)
+++ libgdamm/trunk/libgda/src/datamodeliter.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* datamodeliter.h
*
Modified: libgdamm/trunk/libgda/src/dataproxy.hg
==============================================================================
--- libgdamm/trunk/libgda/src/dataproxy.hg (original)
+++ libgdamm/trunk/libgda/src/dataproxy.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* dataproxy.h
*
@@ -110,7 +110,11 @@
_WRAP_SIGNAL(void sample_changed(int sample_start, int sample_end), "sample-changed")
_WRAP_SIGNAL(void sample_size_changed(int sample_size), "sample-size-changed")
_WRAP_SIGNAL(void filter_changed(), "filter-changed", no_default_handler)
- _WRAP_SIGNAL(Error validate_row_changes(int row, int proxied_row), "validate-row-changes", no_default_handler)
+
+#m4 _CONVERSION(`GError*', `Glib::Error*', `Glib::wrap($3)')
+#m4 _CONVERSION(`Glib::Error', `GError*', `($3).gobj()')
+ _WRAP_SIGNAL(Glib::Error validate_row_changes(int row, int proxied_row), "validate-row-changes", no_default_handler)
+
_WRAP_SIGNAL(void row_changes_applied(int row, int proxied_row), "row-changes-applied")
};
Modified: libgdamm/trunk/libgda/src/dataselect.hg
==============================================================================
--- libgdamm/trunk/libgda/src/dataselect.hg (original)
+++ libgdamm/trunk/libgda/src/dataselect.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* dataselect.h
*
Modified: libgdamm/trunk/libgda/src/handlerbin.hg
==============================================================================
--- libgdamm/trunk/libgda/src/handlerbin.hg (original)
+++ libgdamm/trunk/libgda/src/handlerbin.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* handlerbin.h
*
Modified: libgdamm/trunk/libgda/src/handlerboolean.hg
==============================================================================
--- libgdamm/trunk/libgda/src/handlerboolean.hg (original)
+++ libgdamm/trunk/libgda/src/handlerboolean.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* handlerboolean.h
*
Modified: libgdamm/trunk/libgda/src/handlernumerical.hg
==============================================================================
--- libgdamm/trunk/libgda/src/handlernumerical.hg (original)
+++ libgdamm/trunk/libgda/src/handlernumerical.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* handlernumerical.h
*
Modified: libgdamm/trunk/libgda/src/handlerstring.hg
==============================================================================
--- libgdamm/trunk/libgda/src/handlerstring.hg (original)
+++ libgdamm/trunk/libgda/src/handlerstring.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* handlerstring.h
*
Modified: libgdamm/trunk/libgda/src/handlertime.hg
==============================================================================
--- libgdamm/trunk/libgda/src/handlertime.hg (original)
+++ libgdamm/trunk/libgda/src/handlertime.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* handlertime.h
*
Modified: libgdamm/trunk/libgda/src/handlertype.hg
==============================================================================
--- libgdamm/trunk/libgda/src/handlertype.hg (original)
+++ libgdamm/trunk/libgda/src/handlertype.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* handlertype.h
*
Modified: libgdamm/trunk/libgda/src/holder.hg
==============================================================================
--- libgdamm/trunk/libgda/src/holder.hg (original)
+++ libgdamm/trunk/libgda/src/holder.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* set.h
*
@@ -20,7 +20,6 @@
*/
#include <libgdamm/datahandler.h>
-#include <libgdamm/error.h>
#include <libgdamm/value.h>
_DEFS(libgdamm,libgda)
@@ -108,8 +107,14 @@
_WRAP_SIGNAL(void changed(), "changed")
_WRAP_SIGNAL(void source_changed(), "source-changed")
- _WRAP_SIGNAL(Error validate_change(Value value), "validate-change", no_default_handler)
- _WRAP_SIGNAL(void attribute_changed (Glib::ustring attr_name, Value value), "attribute-changed", no_default_handler)
+
+#m4 _CONVERSION(`GValue*',`const Value&',`Value($3)')
+#m4 _CONVERSION(`GError*', `Glib::Error*', `Glib::wrap($3)')
+#m4 _CONVERSION(`Glib::Error', `GError*', `($3).gobj()')
+ _WRAP_SIGNAL(Glib::Error validate_change(const Value& value), "validate-change", no_default_handler)
+
+#m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
+ _WRAP_SIGNAL(void attribute_changed(const Glib::ustring& attr_name, const Value& value), "attribute-changed", no_default_handler)
};
Modified: libgdamm/trunk/libgda/src/libgda_signals.defs
==============================================================================
--- libgdamm/trunk/libgda/src/libgda_signals.defs (original)
+++ libgdamm/trunk/libgda/src/libgda_signals.defs Fri Mar 13 08:35:09 2009
@@ -493,7 +493,7 @@
(define-signal validate-row-changes
(of-object "GdaDataProxy")
- (return-type "GdaError*")
+ (return-type "GError*")
(when "last")
(parameters
'("gint" "p0")
@@ -671,7 +671,7 @@
(define-signal validate-change
(of-object "GdaHolder")
- (return-type "GdaError*")
+ (return-type "GError*")
(when "last")
(parameters
'("GValue*" "p0")
@@ -925,7 +925,7 @@
(define-signal validate-holder-change
(of-object "GdaSet")
- (return-type "GdaError*")
+ (return-type "GError*")
(when "last")
(parameters
'("GdaHolder*" "p0")
@@ -935,7 +935,7 @@
(define-signal validate-set
(of-object "GdaSet")
- (return-type "GdaError*")
+ (return-type "GError*")
(when "last")
)
Modified: libgdamm/trunk/libgda/src/metastore.hg
==============================================================================
--- libgdamm/trunk/libgda/src/metastore.hg (original)
+++ libgdamm/trunk/libgda/src/metastore.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* metastore.h
*
Modified: libgdamm/trunk/libgda/src/metastruct.hg
==============================================================================
--- libgdamm/trunk/libgda/src/metastruct.hg (original)
+++ libgdamm/trunk/libgda/src/metastruct.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* metastore.h
*
Modified: libgdamm/trunk/libgda/src/quarklist.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/quarklist.ccg (original)
+++ libgdamm/trunk/libgda/src/quarklist.ccg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* quarklist.ccg
*
Modified: libgdamm/trunk/libgda/src/quarklist.hg
==============================================================================
--- libgdamm/trunk/libgda/src/quarklist.hg (original)
+++ libgdamm/trunk/libgda/src/quarklist.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* quarklist.h
*
Modified: libgdamm/trunk/libgda/src/row.hg
==============================================================================
--- libgdamm/trunk/libgda/src/row.hg (original)
+++ libgdamm/trunk/libgda/src/row.hg Fri Mar 13 08:35:09 2009
@@ -1,5 +1,5 @@
/* $Id: row.hg,v 1.10 2006/11/06 04:38:05 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* row.h
*
Modified: libgdamm/trunk/libgda/src/serveroperation.hg
==============================================================================
--- libgdamm/trunk/libgda/src/serveroperation.hg (original)
+++ libgdamm/trunk/libgda/src/serveroperation.hg Fri Mar 13 08:35:09 2009
@@ -1,5 +1,5 @@
/* $Id: serveroperation.hg,v 1.2 2006/11/08 00:52:25 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* serveroperation.h
*
Modified: libgdamm/trunk/libgda/src/serverprovider.hg
==============================================================================
--- libgdamm/trunk/libgda/src/serverprovider.hg (original)
+++ libgdamm/trunk/libgda/src/serverprovider.hg Fri Mar 13 08:35:09 2009
@@ -1,5 +1,5 @@
/* $Id: serverprovider.hg,v 1.16 2006/11/30 06:58:55 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* serverprovider.h
*
Modified: libgdamm/trunk/libgda/src/set.hg
==============================================================================
--- libgdamm/trunk/libgda/src/set.hg (original)
+++ libgdamm/trunk/libgda/src/set.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* set.h
*
@@ -20,12 +20,10 @@
*/
#include <libgdamm/holder.h>
-#include <libgdamm/error.h>
#include <libgdamm/value.h>
_DEFS(libgdamm,libgda)
_PINCLUDE(glibmm/private/object_p.h)
-_PINCLUDE(libgda/gda-error.h)
namespace Gnome
{
@@ -108,9 +106,16 @@
_WRAP_SIGNAL(void holder_changed(const Glib::RefPtr<Holder>& holder), "holder-changed")
_WRAP_SIGNAL(void public_data_changed(), "public-data-changed")
- _WRAP_SIGNAL(Error validate_set(), "validate-set", no_default_handler)
- _WRAP_SIGNAL(Error validate_holder_change(const Glib::RefPtr<Holder>& holder, Value value), "validate-holder-change", no_default_handler)
- _WRAP_SIGNAL(void holder_attr_changed(const Glib::RefPtr<Holder>& holder, Glib::ustring attr_name, Value value), "holder-attr-changed", no_default_handler)
+
+#m4 _CONVERSION(`GError*', `Glib::Error*', `Glib::wrap($3)')
+#m4 _CONVERSION(`Glib::Error', `GError*', `($3).gobj()')
+ _WRAP_SIGNAL(Glib::Error validate_set(), "validate-set", no_default_handler)
+
+#m4 _CONVERSION(`GValue*',`const Value&',`Value($3)')
+ _WRAP_SIGNAL(Glib::Error validate_holder_change(const Glib::RefPtr<Holder>& holder, const Value& value), "validate-holder-change", no_default_handler)
+
+#m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
+ _WRAP_SIGNAL(void holder_attr_changed(const Glib::RefPtr<Holder>& holder, const Glib::ustring& attr_name, Value value), "holder-attr-changed", no_default_handler)
_WRAP_PROPERTY("description", Glib::ustring)
_WRAP_PROPERTY("id", Glib::ustring)
Modified: libgdamm/trunk/libgda/src/sqlparser.hg
==============================================================================
--- libgdamm/trunk/libgda/src/sqlparser.hg (original)
+++ libgdamm/trunk/libgda/src/sqlparser.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* set.h
*
Modified: libgdamm/trunk/libgda/src/statement.hg
==============================================================================
--- libgdamm/trunk/libgda/src/statement.hg (original)
+++ libgdamm/trunk/libgda/src/statement.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* statement.h
*
Modified: libgdamm/trunk/libgda/src/transactionstatus.hg
==============================================================================
--- libgdamm/trunk/libgda/src/transactionstatus.hg (original)
+++ libgdamm/trunk/libgda/src/transactionstatus.hg Fri Mar 13 08:35:09 2009
@@ -1,5 +1,5 @@
/* $Id: transactionstatus.hg,v 1.2 2006/12/23 09:34:17 murrayc Exp $ */
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* transactionstatus.h
*
Modified: libgdamm/trunk/libgda/src/xatransaction.hg
==============================================================================
--- libgdamm/trunk/libgda/src/xatransaction.hg (original)
+++ libgdamm/trunk/libgda/src/xatransaction.hg Fri Mar 13 08:35:09 2009
@@ -1,4 +1,4 @@
-// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+// -*- C++ -*- //
/* xatransaction.h
*
Modified: libgdamm/trunk/tools/m4/convert_libgdamm.m4
==============================================================================
--- libgdamm/trunk/tools/m4/convert_libgdamm.m4 (original)
+++ libgdamm/trunk/tools/m4/convert_libgdamm.m4 Fri Mar 13 08:35:09 2009
@@ -75,8 +75,6 @@
_CONVERSION(`const Glib::RefPtr<Column>&', `GdaColumn*', __CONVERT_REFPTR_TO_P)
_CONVERSION(`const Glib::RefPtr<Column>&', `const GdaColumn*', __CONVERT_REFPTR_TO_P)
_CONVERSION(`const Glib::RefPtr<const Column>&', `const GdaColumn*', __CONVERT_REFPTR_TO_P)
-_CONVERSION(`Error*', `GdaError*', `($3).gobj()')
-_CONVERSION(`GdaError*', `Error*', `Glib::wrap($3)')
_CONVERSION(`GdaColumnIndex*',`Glib::RefPtr<ColumnIndex>',`Glib::wrap($3)')
@@ -88,11 +86,6 @@
_CONVERSION(`GdaRow*', `const Glib::RefPtr<Row>', `Glib::wrap($3)')
_CONVERSION(`GdaRow*', `const Glib::RefPtr<const Row>', `Glib::wrap($3)')
-_CONVERSION(`GdaError*', `Error', `Glib::wrap($3)')
-_CONVERSION(`Error', `GdaError*', `(GdaError*)($3).gobj()')
-_CONVERSION(`Error', `GError*', `($3).gobj()')
-
-
_CONVERSION(`const int*','const-gint*',`$3')
_CONVERSION(`long&',`glong*',`&($3)')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]