mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Rewrite apparently confusing comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23581 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c1f3f4cde5
commit
ad96f1cd23
@ -1043,8 +1043,10 @@ add_price(GNCPriceDB *db, GNCPrice *p)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* the gnc_pricedb_add_price() function will use p, adding a ref, so
|
||||
treat p as read-only if this function succeeds. (Huh ???) */
|
||||
/* If gnc_pricedb_add_price() succeeds, it takes ownership of the
|
||||
passed-in GNCPrice and inserts it into the pricedb. Writing to this
|
||||
pointer afterwards will have interesting results, so don't.
|
||||
*/
|
||||
gboolean
|
||||
gnc_pricedb_add_price(GNCPriceDB *db, GNCPrice *p)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user