[libgda] Docs: responsibility -> ownership



commit 3c2858bf4070b873f95a65b86389a958c3d299e8
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Oct 16 14:37:48 2010 +0200

    Docs: responsibility -> ownership

 libgda/gda-meta-struct.c                         |    2 +-
 libgda/sql-parser/gda-statement-struct-delete.c  |    4 ++--
 libgda/sql-parser/gda-statement-struct-insert.c  |   12 ++++++------
 libgda/sql-parser/gda-statement-struct-pspec.c   |    8 ++++----
 libgda/sql-parser/gda-statement-struct-select.c  |   14 +++++++-------
 libgda/sql-parser/gda-statement-struct-trans.c   |    4 ++--
 libgda/sql-parser/gda-statement-struct-unknown.c |    2 +-
 libgda/sql-parser/gda-statement-struct-update.c  |    6 +++---
 libgda/sqlite/sqlite-src/sqlite3.c               |    8 ++++----
 9 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/libgda/gda-meta-struct.c b/libgda/gda-meta-struct.c
index 4137df1..ebbe372 100644
--- a/libgda/gda-meta-struct.c
+++ b/libgda/gda-meta-struct.c
@@ -2242,7 +2242,7 @@ copyerror:
  * @error: (allow-none): a place to store errors, or %NULL
  *
  * Adds @dbo to the database objects known to @mstruct. In any case (whether an error occured or not)
- * @dbo's responsibility is then transferred to @smtruct and should
+ * @dbo's ownership is then transferred to @smtruct and should
  * not be used after calling this function (it may have been destroyed). If you need a pointer to the #GdaMetaDbObject
  * for a database object, use gda_meta_struct_get_db_object().
  *
diff --git a/libgda/sql-parser/gda-statement-struct-delete.c b/libgda/sql-parser/gda-statement-struct-delete.c
index 7a669a6..ba326c4 100644
--- a/libgda/sql-parser/gda-statement-struct-delete.c
+++ b/libgda/sql-parser/gda-statement-struct-delete.c
@@ -126,7 +126,7 @@ gda_sql_statement_delete_serialize (gpointer stmt)
  * @stmt: a #GdaSqlStatement pointer
  * @value: a table name as a G_TYPE_STRING #GValue 
  *
- * Sets the name of the table to delete from in @stmt. @value's responsibility is transferred to
+ * Sets the name of the table to delete from in @stmt. @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -144,7 +144,7 @@ gda_sql_statement_delete_take_table_name (GdaSqlStatement *stmt, GValue *value)
  * @stmt: a #GdaSqlStatement pointer
  * @cond: the WHERE condition of the DELETE statement, as a #GdaSqlExpr 
  *
- * Sets the WHERE condition of @stmt. @cond's responsibility is transferred to
+ * Sets the WHERE condition of @stmt. @cond's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void 
diff --git a/libgda/sql-parser/gda-statement-struct-insert.c b/libgda/sql-parser/gda-statement-struct-insert.c
index 3f7fa21..467ac4c 100644
--- a/libgda/sql-parser/gda-statement-struct-insert.c
+++ b/libgda/sql-parser/gda-statement-struct-insert.c
@@ -226,7 +226,7 @@ gda_sql_statement_insert_serialize (gpointer stmt)
  * @stmt: a #GdaSqlStatement pointer
  * @value: name of the table to insert into, as a G_TYPE_STRING #GValue
  *
- * Sets the name of the table to insert into in @stmt. @value's responsibility is transferred to
+ * Sets the name of the table to insert into in @stmt. @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -244,7 +244,7 @@ gda_sql_statement_insert_take_table_name (GdaSqlStatement *stmt, GValue *value)
  * @stmt: a #GdaSqlStatement pointer
  * @value: name of the resolution conflict algorithm, as a G_TYPE_STRING #GValue
  *
- * Sets the name of the resolution conflict algorithm used by @stmt. @value's responsibility is transferred to
+ * Sets the name of the resolution conflict algorithm used by @stmt. @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -264,7 +264,7 @@ gda_sql_statement_insert_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
  * @list: a list of #GdaSqlField pointers
  *
  * Sets the list of fields for which values will be specified in @stmt. @list's 
- * responsibility is transferred to
+ * ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -284,7 +284,7 @@ gda_sql_statement_insert_take_fields_list (GdaSqlStatement *stmt, GSList *list)
  * @list: a list of #GdaSqlExpr pointers
  *
  * Sets a list of values to be inserted by @stmt. @list's 
- * responsibility is transferred to
+ * ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -304,7 +304,7 @@ gda_sql_statement_insert_take_1_values_list (GdaSqlStatement *stmt, GSList *list
  * @list: a list of #GSQliet of #GdaSqlExpr pointers
  *
  * Sets a list of list of values to be inserted by @stmt. @list's 
- * responsibility is transferred to
+ * ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -326,7 +326,7 @@ gda_sql_statement_insert_take_extra_values_list (GdaSqlStatement *stmt, GSList *
  * @select: a SELECT #GdaSqlStatement pointer
  *
  * Specifies a SELECT statement, the values inserted will be the result set of @select. @select's 
- * responsibility is transferred to
+ * ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
diff --git a/libgda/sql-parser/gda-statement-struct-pspec.c b/libgda/sql-parser/gda-statement-struct-pspec.c
index 4c9b1a4..10eaadb 100644
--- a/libgda/sql-parser/gda-statement-struct-pspec.c
+++ b/libgda/sql-parser/gda-statement-struct-pspec.c
@@ -28,7 +28,7 @@
  * @pspec: a #GdaSqlParamSpec pointer
  * @value: a G_TYPE_STRING #GValue
  *
- * Sets @pspec's name. @value's responsibility is transferred to
+ * Sets @pspec's name. @value's ownership is transferred to
  * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  */
 void
@@ -50,7 +50,7 @@ gda_sql_param_spec_take_name (GdaSqlParamSpec *pspec, GValue *value)
  * @pspec: a #GdaSqlParamSpec pointer
  * @value: a G_TYPE_STRING #GValue
  *
- * Sets @pspec's description. @value's responsibility is transferred to
+ * Sets @pspec's description. @value's ownership is transferred to
  * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  */
 void
@@ -72,7 +72,7 @@ gda_sql_param_spec_take_descr (GdaSqlParamSpec *pspec, GValue *value)
  * @pspec: a #GdaSqlParamSpec pointer
  * @value: a G_TYPE_STRING #GValue. 
  *
- * Sets @pspec's ability of being NULL. @value's responsibility is transferred to
+ * Sets @pspec's ability of being NULL. @value's ownership is transferred to
  * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  *
  * If @value's string starts by 't' or 'T' then @pspec will be allowed to be %NULL
@@ -98,7 +98,7 @@ gda_sql_param_spec_take_nullok (GdaSqlParamSpec *pspec, GValue *value)
  * @pspec: a #GdaSqlParamSpec pointer
  * @value: a G_TYPE_STRING #GValue
  *
- * Sets @pspec's data type. @value's responsibility is transferred to
+ * Sets @pspec's data type. @value's ownership is transferred to
  * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  *
  * @value must represent a data type, as understood by gda_g_type_from_string().
diff --git a/libgda/sql-parser/gda-statement-struct-select.c b/libgda/sql-parser/gda-statement-struct-select.c
index 11735b2..f772fed 100644
--- a/libgda/sql-parser/gda-statement-struct-select.c
+++ b/libgda/sql-parser/gda-statement-struct-select.c
@@ -248,7 +248,7 @@ _gda_sql_statement_select_serialize (gpointer stmt)
  *
  * Sets the DISTINCT clause of @stmt. 
  *
- * @distinct_expr's responsibility is transferred to
+ * @distinct_expr's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -267,7 +267,7 @@ gda_sql_statement_select_take_distinct (GdaSqlStatement *stmt, gboolean distinct
  *
  * Sets list of expressions selected by @stmt
  *
- * @expr_list's responsibility is transferred to
+ * @expr_list's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -287,7 +287,7 @@ gda_sql_statement_select_take_expr_list (GdaSqlStatement *stmt, GSList *expr_lis
  *
  * Sets the FROM clause of @stmt
  *
- * @from's responsibility is transferred to
+ * @from's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -305,7 +305,7 @@ gda_sql_statement_select_take_from (GdaSqlStatement *stmt, GdaSqlSelectFrom *fro
  *
  * Sets the WHERE clause of @stmt
  *
- * @expr's responsibility is transferred to
+ * @expr's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -323,7 +323,7 @@ gda_sql_statement_select_take_where_cond (GdaSqlStatement *stmt, GdaSqlExpr *exp
  *
  * Sets the GROUP BY clause of @stmt
  *
- * @group_by's responsibility is transferred to
+ * @group_by's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -343,7 +343,7 @@ gda_sql_statement_select_take_group_by (GdaSqlStatement *stmt, GSList *group_by)
  *
  * Sets the HAVING clause of @stmt
  *
- * @expr's responsibility is transferred to
+ * @expr's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -361,7 +361,7 @@ gda_sql_statement_select_take_having_cond (GdaSqlStatement *stmt, GdaSqlExpr *ex
  *
  * Sets the ORDER BY clause of @stmt
  *
- * @order_by's responsibility is transferred to
+ * @order_by's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
diff --git a/libgda/sql-parser/gda-statement-struct-trans.c b/libgda/sql-parser/gda-statement-struct-trans.c
index be2a450..d49e1b0 100644
--- a/libgda/sql-parser/gda-statement-struct-trans.c
+++ b/libgda/sql-parser/gda-statement-struct-trans.c
@@ -253,7 +253,7 @@ gda_sql_statement_trans_serialize (gpointer stmt)
  *
  * Sets the name of the transaction
  *
- * @value's responsibility is transferred to
+ * @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -278,7 +278,7 @@ gda_sql_statement_trans_take_name (GdaSqlStatement *stmt, GValue *value)
  *
  * Sets the model of the transaction
  *
- * @value's responsibility is transferred to
+ * @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
diff --git a/libgda/sql-parser/gda-statement-struct-unknown.c b/libgda/sql-parser/gda-statement-struct-unknown.c
index fde9427..3c0e6f7 100644
--- a/libgda/sql-parser/gda-statement-struct-unknown.c
+++ b/libgda/sql-parser/gda-statement-struct-unknown.c
@@ -116,7 +116,7 @@ gda_sql_statement_unknown_serialize (gpointer stmt)
  * Sets @stmt's list of expressions
  *
  * @expressions's 
- * responsibility is transferred to
+ * ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
diff --git a/libgda/sql-parser/gda-statement-struct-update.c b/libgda/sql-parser/gda-statement-struct-update.c
index 7713330..8d588de 100644
--- a/libgda/sql-parser/gda-statement-struct-update.c
+++ b/libgda/sql-parser/gda-statement-struct-update.c
@@ -195,7 +195,7 @@ gda_sql_statement_update_serialize (gpointer stmt)
  *
  * Sets the name of the table to delete from in @stmt.
  *
- * @value's responsibility is transferred to
+ * @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -213,7 +213,7 @@ gda_sql_statement_update_take_table_name (GdaSqlStatement *stmt, GValue *value)
  * @stmt: a #GdaSqlStatement pointer
  * @value: name of the resolution conflict algorithm, as a G_TYPE_STRING #GValue
  *
- * Sets the name of the resolution conflict algorithm used by @stmt. @value's responsibility is transferred to
+ * Sets the name of the resolution conflict algorithm used by @stmt. @value's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
@@ -234,7 +234,7 @@ gda_sql_statement_update_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
  *
  * Sets the WHERE clause of @stmt
  *
- * @expr's responsibility is transferred to
+ * @expr's ownership is transferred to
  * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void 
diff --git a/libgda/sqlite/sqlite-src/sqlite3.c b/libgda/sqlite/sqlite-src/sqlite3.c
index 8ba9cf9..ac21c1a 100644
--- a/libgda/sqlite/sqlite-src/sqlite3.c
+++ b/libgda/sqlite/sqlite-src/sqlite3.c
@@ -8992,7 +8992,7 @@ struct CollSeq {
 ** connection handle passed to it via the xConnect() or xCreate() method
 ** during initialization internally. This database connection handle may
 ** then used by the virtual table implementation to access real tables 
-** within the database. So that they appear as part of the callers 
+** within the database. So that they appear as part of the caller's 
 ** transaction, these accesses need to be made via the same database 
 ** connection as that used to execute SQL operations on the virtual table.
 **
@@ -38143,7 +38143,7 @@ static int openSubJournal(Pager *pPager){
 
 /*
 ** Append a record of the current state of page pPg to the sub-journal. 
-** It is the callers responsibility to use subjRequiresPage() to check 
+** It is the caller's responsibility to use subjRequiresPage() to check 
 ** that it is really required before calling this function.
 **
 ** If successful, set the bit corresponding to pPg->pgno in the bitvecs
@@ -54776,7 +54776,7 @@ SQLITE_PRIVATE int sqlite3VdbeAssertMayAbort(Vdbe *v, int mayAbort){
   /* Return true if hasAbort==mayAbort. Or if a malloc failure occured.
   ** If malloc failed, then the while() loop above may not have iterated
   ** through all opcodes and hasAbort may be set incorrectly. Return
-  ** true for this case to prevent the assert() in the callers frame
+  ** true for this case to prevent the assert() in the caller's frame
   ** from failing.  */
   return ( v->db->mallocFailed || hasAbort==mayAbort );
 }
@@ -54842,7 +54842,7 @@ SQLITE_PRIVATE int sqlite3VdbeCurrentAddr(Vdbe *p){
 
 /*
 ** This function returns a pointer to the array of opcodes associated with
-** the Vdbe passed as the first argument. It is the callers responsibility
+** the Vdbe passed as the first argument. It is the caller's responsibility
 ** to arrange for the returned array to be eventually freed using the 
 ** vdbeFreeOpArray() function.
 **



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