Remove variable names that conflict with Python keywords. Relevent when using SWIG autodoc feature for python bindings.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19924 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Evans
2010-12-10 13:09:50 +00:00
parent 3879292cc6
commit 356d51060d
3 changed files with 9 additions and 9 deletions

View File

@@ -179,7 +179,7 @@ Account * gnc_account_create_root (QofBook *book);
* The guid pointers are stored under the under the kvp
* path "gemini".
*/
Account * xaccCloneAccount (const Account *from, QofBook *book);
Account * xaccCloneAccount (const Account *source, QofBook *book);
/** The xaccCloneAccountSimple() routine makes a simple copy of the
* indicated account, placing it in the indicated book. It copies
@@ -191,7 +191,7 @@ Account * xaccCloneAccount (const Account *from, QofBook *book);
* Note that this routines does *NOT* use the 'gemini' kvp value
* to indicate where it was copied from.
*/
Account * xaccCloneAccountSimple (const Account *from, QofBook *book);
Account * xaccCloneAccountSimple (const Account *source, QofBook *book);
/** The xaccAccountBeginEdit() subroutine is the first phase of
* a two-phase-commit wrapper for account updates. */

View File

@@ -941,12 +941,12 @@ gboolean gnc_commodity_table_foreach_commodity(const gnc_commodity_table * table
gnc_commodity_table * gnc_commodity_table_new(void);
void gnc_commodity_table_destroy(gnc_commodity_table * table);
/** Given the commodity 'from', this routine will find and return the
/** Given the commodity 'findlike', this routine will find and return the
* equivalent commodity (commodity with the same 'unique name') in
* the indicated book. This routine is primarily useful for setting
* up clones of things across multiple books.
*/
gnc_commodity * gnc_commodity_obtain_twin (const gnc_commodity *from, QofBook *book);
gnc_commodity * gnc_commodity_obtain_twin (const gnc_commodity *findlike, QofBook *book);
/** You should probably not be using gnc_commodity_table_register()
* It is an internal routine for registering the gncObject for the

View File

@@ -263,7 +263,7 @@ gnc_numeric gnc_numeric_zero(void)
* but GNC_DENOM_AUTO is not recognized; a denominator
* must be specified either explicitctly or through sigfigs.
*/
gnc_numeric double_to_gnc_numeric(double in, gint64 denom,
gnc_numeric double_to_gnc_numeric(double n, gint64 denom,
gint how);
/** Read a gnc_numeric from str, skipping any leading whitespace.
@@ -294,7 +294,7 @@ gint64 gnc_numeric_denom(gnc_numeric a)
}
/** Convert numeric to floating-point value. */
gdouble gnc_numeric_to_double(gnc_numeric in);
gdouble gnc_numeric_to_double(gnc_numeric n);
/** Convert to string. The returned buffer is to be g_free'd by the
* caller (it was allocated through g_strdup) */
@@ -447,7 +447,7 @@ gnc_numeric gnc_numeric_div_with_error(gnc_numeric a, gnc_numeric b,
* specified denominator under standard arguments
* 'denom' and 'how'.
*/
gnc_numeric gnc_numeric_convert(gnc_numeric in, gint64 denom,
gnc_numeric gnc_numeric_convert(gnc_numeric n, gint64 denom,
gint how);
#if 0
@@ -455,14 +455,14 @@ gnc_numeric gnc_numeric_convert(gnc_numeric in, gint64 denom,
/* Same as gnc_numeric_convert, but return a remainder
* value for accumulating conversion error.
*/
gnc_numeric gnc_numeric_convert_with_error(gnc_numeric in, gint64 denom,
gnc_numeric gnc_numeric_convert_with_error(gnc_numeric n, gint64 denom,
gint how,
gnc_numeric * error);
#endif
/** Return input after reducing it by Greated Common Factor (GCF)
* elimination */
gnc_numeric gnc_numeric_reduce(gnc_numeric in);
gnc_numeric gnc_numeric_reduce(gnc_numeric n);
/** Attempt to convert the denominator to an exact power of ten without
* rounding.