[Gnucash-changes] r14426 - gnucash/branches/register-rewrite/src - Two changes to the gnc_commodity API:

Derek Atkins warlord at MIT.EDU
Mon Jun 26 12:03:44 EDT 2006


Chris Shoemaker <chris at cvs.gnucash.org> writes:

> Log:
>    Two changes to the gnc_commodity API:
>    1. Pass only the namespace and mnemonic strings to
>    gnc_commodity_new().  This separates construction from the setters and
>    simplifies callers.

Hmm..   Why have one function call when four will do?
Perhaps have a second API that DOES let you call it all at
once?

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list