[gnome-python-extras] Gda: Regenerate .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-python-extras] Gda: Regenerate .defs.
- Date: Mon, 3 May 2010 20:32:57 +0000 (UTC)
commit 5207857bb90492f405c88cd9eb958423c8d42e0e
Author: Murray Cumming <murrayc murrayc com>
Date: Mon May 3 22:30:46 2010 +0200
Gda: Regenerate .defs.
* gda/gda.defs: Regenerated again, removing all private API and
including new API that requires the renamed get_type() functions
in latest libgda for GdaSqlParser API.
ChangeLog | 8 ++
gda/gda.defs | 215 +++++++++-------------------------------------------------
2 files changed, 41 insertions(+), 182 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1eb69c1..16699a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-05-03 Murray Cumming <murrayc murrayc com>
+
+ Gda: Regenerate .defs.
+
+ * gda/gda.defs: Regenerated again, removing all private API and
+ including new API that requires the renamed get_type() functions
+ in latest libgda for GdaSqlParser API.
+
2010-05-02 Murray Cumming <murrayc murrayc com>
Use pygobject-codegen-2.0 instead of deprecated pygtk-codegen-2.0.
diff --git a/gda/gda.defs b/gda/gda.defs
index 5809d40..cd9956e 100644
--- a/gda/gda.defs
+++ b/gda/gda.defs
@@ -56,7 +56,7 @@
(gtype-id "GDA_TYPE_DATA_COMPARATOR")
)
-(define-inferface DataHandler
+(define-interface DataHandler
(in-module "Gda")
(c-name "GdaDataHandler")
(gtype-id "GDA_TYPE_DATA_HANDLER")
@@ -1819,156 +1819,6 @@
-;; From gda-connection-private.h
-
-(define-method internal_set_provider_data
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_set_provider_data")
- (return-type "none")
- (parameters
- '("gpointer" "data")
- '("GDestroyNotify" "destroy_func")
- )
-)
-
-(define-method internal_get_provider_data
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_get_provider_data")
- (return-type "gpointer")
-)
-
-(define-method add_event
- (of-object "GdaConnection")
- (c-name "gda_connection_add_event")
- (return-type "none")
- (parameters
- '("GdaConnectionEvent*" "event")
- )
-)
-
-(define-method add_event_string
- (of-object "GdaConnection")
- (c-name "gda_connection_add_event_string")
- (return-type "GdaConnectionEvent*")
- (parameters
- '("const-gchar*" "str")
- )
- (varargs #t)
-)
-
-(define-method clear_events_list
- (of-object "GdaConnection")
- (c-name "gda_connection_clear_events_list")
- (return-type "none")
-)
-
-(define-method internal_transaction_started
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_transaction_started")
- (return-type "none")
- (parameters
- '("const-gchar*" "parent_trans")
- '("const-gchar*" "trans_name")
- '("GdaTransactionIsolation" "isol_level")
- )
-)
-
-(define-method internal_transaction_rolledback
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_transaction_rolledback")
- (return-type "none")
- (parameters
- '("const-gchar*" "trans_name")
- )
-)
-
-(define-method internal_transaction_committed
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_transaction_committed")
- (return-type "none")
- (parameters
- '("const-gchar*" "trans_name")
- )
-)
-
-(define-method internal_statement_executed
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_statement_executed")
- (return-type "none")
- (parameters
- '("GdaStatement*" "stmt")
- '("GdaSet*" "params")
- '("GdaConnectionEvent*" "error")
- )
-)
-
-(define-method internal_savepoint_added
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_savepoint_added")
- (return-type "none")
- (parameters
- '("const-gchar*" "parent_trans")
- '("const-gchar*" "svp_name")
- )
-)
-
-(define-method internal_savepoint_rolledback
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_savepoint_rolledback")
- (return-type "none")
- (parameters
- '("const-gchar*" "svp_name")
- )
-)
-
-(define-method internal_savepoint_removed
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_savepoint_removed")
- (return-type "none")
- (parameters
- '("const-gchar*" "svp_name")
- )
-)
-
-(define-method internal_change_transaction_state
- (of-object "GdaConnection")
- (c-name "gda_connection_internal_change_transaction_state")
- (return-type "none")
- (parameters
- '("GdaTransactionStatusState" "newstate")
- )
-)
-
-(define-method add_prepared_statement
- (of-object "GdaConnection")
- (c-name "gda_connection_add_prepared_statement")
- (return-type "none")
- (parameters
- '("GdaStatement*" "gda_stmt")
- '("GdaPStmt*" "prepared_stmt")
- )
-)
-
-(define-method del_prepared_statement
- (of-object "GdaConnection")
- (c-name "gda_connection_del_prepared_statement")
- (return-type "none")
- (parameters
- '("GdaStatement*" "gda_stmt")
- )
-)
-
-(define-method get_prepared_statement
- (of-object "GdaConnection")
- (c-name "gda_connection_get_prepared_statement")
- (return-type "GdaPStmt*")
- (parameters
- '("GdaStatement*" "gda_stmt")
- )
-)
-
-
-
;; From gda-custom-marshal.h
@@ -2174,10 +2024,6 @@
(return-type "none")
)
-
-
-
-
;; From gda-data-model-dir.h
(define-function gda_data_model_dir_get_type
@@ -2696,22 +2542,6 @@
)
)
-
-
-;; From gda-data-model-private.h
-
-(define-method add_data_from_xml_node
- (of-object "GdaDataModel")
- (c-name "gda_data_model_add_data_from_xml_node")
- (return-type "gboolean")
- (parameters
- '("xmlNodePtr" "node")
- '("GError**" "error")
- )
-)
-
-
-
;; From gda-data-proxy.h
(define-function gda_data_proxy_get_type
@@ -4012,6 +3842,7 @@
+
;; From gda-mutex.h
(define-function gda_mutex_new
@@ -4642,12 +4473,6 @@
)
)
-
-
-;; From gda-server-provider-private.h
-
-
-
;; From gda-set.h
(define-function gda_set_get_type
@@ -4862,6 +4687,12 @@
)
)
+(define-method get_statement_type
+ (of-object "GdaStatement")
+ (c-name "gda_statement_get_statement_type")
+ (return-type "GdaSqlStatementType")
+)
+
(define-method is_useless
(of-object "GdaStatement")
(c-name "gda_statement_is_useless")
@@ -4916,6 +4747,7 @@
)
+
;; From gda-types.h
@@ -5871,11 +5703,6 @@
)
-
-;; From gda-sql-parser-private.h
-
-
-
;; From gda-sql-statement.h
@@ -5983,6 +5810,14 @@
(return-type "const-gchar*")
)
+(define-function gda_sql_statement_string_to_type
+ (c-name "gda_sql_statement_string_to_type")
+ (return-type "GdaSqlStatementType")
+ (parameters
+ '("const-gchar*" "type")
+ )
+)
+
(define-method check_structure
(of-object "GdaSqlStatement")
(c-name "gda_sql_statement_check_structure")
@@ -6274,6 +6109,22 @@
(return-type "gchar*")
)
+(define-function gda_sql_operation_operator_to_string
+ (c-name "gda_sql_operation_operator_to_string")
+ (return-type "const-gchar*")
+ (parameters
+ '("GdaSqlOperatorType" "op")
+ )
+)
+
+(define-function gda_sql_operation_operator_from_string
+ (c-name "gda_sql_operation_operator_from_string")
+ (return-type "GdaSqlOperatorType")
+ (parameters
+ '("const-gchar*" "op")
+ )
+)
+
(define-function gda_sql_case_new
(c-name "gda_sql_case_new")
(is-constructor-of "GdaSqlCase")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]