r20621 - gnucash/trunk/src - Refactor gncOwnerCreate/Destroy into gncOwnerNew/Free to avoid confusion with similar gnc<ownertype>Create/Destroy functions, like gncVendorCreate, gncCustomerDestroy and so on. The type specific functions add or delete the owner from the book, while the generic one only allocated memory or freed memory to hold a generic owner. Changing the name makes it clear the generic and specific functions are not related. Note: this change may require a clean rebuild. I'm not sure if swig picks this up automatically.
Geert Janssens
gjanssens at code.gnucash.org
Wed May 11 17:51:18 EDT 2011
Author: gjanssens
Date: 2011-05-11 17:51:17 -0400 (Wed, 11 May 2011)
New Revision: 20621
Trac: http://svn.gnucash.org/trac/changeset/20621
Modified:
gnucash/trunk/src/business/business-core/business-core.scm
gnucash/trunk/src/business/business-gnome/gnc-plugin-business.c
gnucash/trunk/src/business/business-utils/business-options.scm
gnucash/trunk/src/engine/gncBusiness.c
gnucash/trunk/src/engine/gncOwner.c
gnucash/trunk/src/engine/gncOwner.h
gnucash/trunk/src/gnome-utils/gnc-tree-view-owner.c
gnucash/trunk/src/optional/python-bindings/gnucash_core.i
gnucash/trunk/src/plugins/bi_import/bi_import.c
gnucash/trunk/src/report/business-reports/aging.scm
gnucash/trunk/src/report/business-reports/owner-report.scm
Log:
Refactor gncOwnerCreate/Destroy into gncOwnerNew/Free to avoid confusion with similar gnc<ownertype>Create/Destroy functions, like gncVendorCreate, gncCustomerDestroy and so on. The type specific functions add or delete the owner from the book, while the generic one only allocated memory or freed memory to hold a generic owner. Changing the name makes it clear the generic and specific functions are not related. Note: this change may require a clean rebuild. I'm not sure if swig picks this up automatically.
More information about the gnucash-patches
mailing list