mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change some functions to use const gnc_commodity for gnc_pricedb
This commit is contained in:
@@ -584,8 +584,8 @@ gnc_numeric xaccAccountConvertBalanceToCurrency(
|
||||
const gnc_commodity *new_currency);
|
||||
gnc_numeric xaccAccountConvertBalanceToCurrencyAsOfDate(
|
||||
const Account *account, /* for book */
|
||||
gnc_numeric balance, gnc_commodity *balance_currency,
|
||||
gnc_commodity *new_currency, time64 date);
|
||||
gnc_numeric balance, const gnc_commodity *balance_currency,
|
||||
const gnc_commodity *new_currency, time64 date);
|
||||
|
||||
/* These functions get some type of balance in the desired commodity.
|
||||
'report_commodity' may be NULL to use the account's commodity. */
|
||||
|
||||
Reference in New Issue
Block a user