gnome-python-extras r440 - in trunk: . gda



Author: murrayc
Date: Mon Nov 17 12:41:31 2008
New Revision: 440
URL: http://svn.gnome.org/viewvc/gnome-python-extras?rev=440&view=rev

Log:
2008-11-17  Murray Cumming  <murrayc murrayc com>

* gda/gda.defs: Regenerated with h2defs.py to fix the build with 
latest libgda-4.0.

Modified:
   trunk/ChangeLog
   trunk/gda/gda.defs

Modified: trunk/gda/gda.defs
==============================================================================
--- trunk/gda/gda.defs	(original)
+++ trunk/gda/gda.defs	Mon Nov 17 12:41:31 2008
@@ -195,6 +195,7 @@
 
 ;; Enumerations and flags ...
 
+
 (define-enum ConfigError
   (in-module "Gda")
   (c-name "GdaConfigError")
@@ -402,7 +403,7 @@
   (c-name "GdaDataModelIterError")
   (gtype-id "GDA_TYPE_DATA_MODEL_ITER_ERROR")
   (values
-    '("r" "GDA_DATA_MODEL_ITER_COLUMN_OUT_OF_RANGE_ERROR")
+    '("error" "GDA_DATA_MODEL_ITER_COLUMN_OUT_OF_RANGE_ERROR")
   )
 )
 
@@ -566,7 +567,7 @@
   (c-name "GdaMetaGraphInfo")
   (gtype-id "GDA_TYPE_META_GRAPH_INFO")
   (values
-    '("s" "GDA_META_GRAPH_COLUMNS")
+    '("columns" "GDA_META_GRAPH_COLUMNS")
   )
 )
 
@@ -679,13 +680,13 @@
   (c-name "GdaStatementSqlFlag")
   (gtype-id "GDA_TYPE_STATEMENT_SQL_FLAG")
   (values
-    '("retty" "GDA_STATEMENT_SQL_PRETTY")
-    '("arams-long" "GDA_STATEMENT_SQL_PARAMS_LONG")
-    '("arams-short" "GDA_STATEMENT_SQL_PARAMS_SHORT")
-    '("arams-as-colon" "GDA_STATEMENT_SQL_PARAMS_AS_COLON")
-    '("arams-as-dollar" "GDA_STATEMENT_SQL_PARAMS_AS_DOLLAR")
-    '("arams-as-qmark" "GDA_STATEMENT_SQL_PARAMS_AS_QMARK")
-    '("arams-as-uqmark" "GDA_STATEMENT_SQL_PARAMS_AS_UQMARK")
+    '("pretty" "GDA_STATEMENT_SQL_PRETTY")
+    '("params-long" "GDA_STATEMENT_SQL_PARAMS_LONG")
+    '("params-short" "GDA_STATEMENT_SQL_PARAMS_SHORT")
+    '("params-as-colon" "GDA_STATEMENT_SQL_PARAMS_AS_COLON")
+    '("params-as-dollar" "GDA_STATEMENT_SQL_PARAMS_AS_DOLLAR")
+    '("params-as-qmark" "GDA_STATEMENT_SQL_PARAMS_AS_QMARK")
+    '("params-as-uqmark" "GDA_STATEMENT_SQL_PARAMS_AS_UQMARK")
   )
 )
 
@@ -694,9 +695,9 @@
   (c-name "GdaTransactionStatusEventType")
   (gtype-id "GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE")
   (values
-    '("avepoint" "GDA_TRANSACTION_STATUS_EVENT_SAVEPOINT")
-    '("ql" "GDA_TRANSACTION_STATUS_EVENT_SQL")
-    '("ub-transaction" "GDA_TRANSACTION_STATUS_EVENT_SUB_TRANSACTION")
+    '("savepoint" "GDA_TRANSACTION_STATUS_EVENT_SAVEPOINT")
+    '("sql" "GDA_TRANSACTION_STATUS_EVENT_SQL")
+    '("sub-transaction" "GDA_TRANSACTION_STATUS_EVENT_SUB_TRANSACTION")
   )
 )
 
@@ -867,6 +868,24 @@
 
 
 
+;; From gda-binreloc.h
+
+(define-function gda_gbr_init
+  (c-name "gda_gbr_init")
+  (return-type "none")
+)
+
+(define-function gda_gbr_get_file_path
+  (c-name "gda_gbr_get_file_path")
+  (return-type "gchar*")
+  (parameters
+    '("GdaPrefixDir" "where")
+  )
+  (varargs #t)
+)
+
+
+
 ;; From gda-blob-op.h
 
 (define-function gda_blob_op_get_type
@@ -1638,6 +1657,157 @@
 )
 
 
+
+;; 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-data-access-wrapper.h
 
 (define-function gda_data_access_wrapper_get_type
@@ -2782,6 +2952,7 @@
   (c-name "gda_perform_create_database")
   (return-type "gboolean")
   (parameters
+    '("const-gchar*" "provider")
     '("GdaServerOperation*" "op")
     '("GError**" "error")
   )
@@ -2801,6 +2972,7 @@
   (c-name "gda_perform_drop_database")
   (return-type "gboolean")
   (parameters
+    '("const-gchar*" "provider")
     '("GdaServerOperation*" "op")
     '("GError**" "error")
   )
@@ -5526,3 +5698,20 @@
 )
 
 
+
+;; From libgda.h
+
+(define-function gda_init
+  (c-name "gda_init")
+  (return-type "none")
+)
+
+(define-function gda_get_application_exec_path
+  (c-name "gda_get_application_exec_path")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "app_name")
+  )
+)
+
+



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