mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8128 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5e1957174f
commit
952ef55424
@ -62,7 +62,17 @@ void gnc_commodity_set_exchange_code(gnc_commodity * cm,
|
||||
void gnc_commodity_set_fraction(gnc_commodity * cm, int smallest_fraction);
|
||||
void gnc_commodity_set_mark(gnc_commodity * cm, gint16 mark);
|
||||
|
||||
/** The gnc_commodity_equiv() routine returns TRUE if the two commodities are
|
||||
* equivalent. Commodities are equivalent if they have the same namespace
|
||||
* and mnemonic. Equivalent commodities my belong to different exchanges,
|
||||
* may have different fullnames, and may have different fractionals.
|
||||
*/
|
||||
gboolean gnc_commodity_equiv(const gnc_commodity * a, const gnc_commodity * b);
|
||||
|
||||
/** The gnc_commodity_equal() routine returns TRUE if the two commodities are
|
||||
* equal. Commodities are equal if they have the same namespace, mnemonic,
|
||||
* fullname, exchange and fraction.
|
||||
*/
|
||||
gboolean gnc_commodity_equal(const gnc_commodity * a, const gnc_commodity * b);
|
||||
|
||||
/* gnc_commodity_table functions : operate on a database of commodity
|
||||
|
@ -60,8 +60,8 @@ struct gnc_lot_struct
|
||||
/* List of splits that belong to this lot. */
|
||||
SplitList *splits;
|
||||
|
||||
/* handy cached value to indicate if lot is closed */
|
||||
/* if value is negative, then the cache is invalid */
|
||||
/* Handy cached value to indicate if lot is closed. */
|
||||
/* If value is negative, then the cache is invalid. */
|
||||
signed char is_closed;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user