mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add a comment about GNC_COMMODITY_NS_ISO and
GNC_COMMODITY_NS_CURRENCY. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18523 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1912,6 +1912,12 @@ gnc_commodity_table_get_namespaces_list(const gnc_commodity_table * table)
|
||||
return table->ns_list;
|
||||
}
|
||||
|
||||
/* Because gnc_commodity_table_add_namespace maps GNC_COMMODITY_NS_ISO to
|
||||
GNC_COMMODITY_NS_CURRENCY and then sets iso4217 if the namespace is
|
||||
either of these, the net result is that the iso4217 bit is set only
|
||||
for GNC_COMMODITY_NS_CURRENCY. This means that gnc_commodity_is_iso is
|
||||
a subset of gnc_commodity_is_currency. Most callers seem to use
|
||||
gnc_commodity_is_iso. */
|
||||
gboolean
|
||||
gnc_commodity_is_iso(const gnc_commodity * cm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user