add documentation

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8128 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-03-30 18:40:40 +00:00
parent 5e1957174f
commit 952ef55424
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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;
};