gnucash maint: Modify documentation for gncEntryComputeValue

Christopher Lam clam at code.gnucash.org
Mon May 31 20:14:46 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/8a56a003 (commit)
	from  https://github.com/Gnucash/gnucash/commit/be19b489 (commit)



commit 8a56a00313386393a339798bb4cf246f01d73aad
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Jun 1 08:12:40 2021 +0800

    Modify documentation for gncEntryComputeValue
    
    Modify documentation for be19b489e

diff --git a/libgnucash/engine/gncEntry.h b/libgnucash/engine/gncEntry.h
index 8c8c82e11..bdb4c1212 100644
--- a/libgnucash/engine/gncEntry.h
+++ b/libgnucash/engine/gncEntry.h
@@ -270,8 +270,8 @@ gnc_numeric gncEntryGetBalDiscountValue (GncEntry *entry, gboolean round, gboole
  *
  *  The return values are NOT rounded.
  *
- * The tax_values list is owned by the entry and will be
- * destroyed automatically, so use it quickly.
+ * If the tax_values list is owned by the entry, it will be destroyed
+ * automatically. Otherwise use gncAccountValueDestroy to free it.
  */
 void gncEntryComputeValue (gnc_numeric qty, gnc_numeric price,
                            const GncTaxTable *tax_table, gboolean tax_included,



Summary of changes:
 libgnucash/engine/gncEntry.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list