Problem with QOF_TYPE_COLLECT
Derek Atkins
warlord at MIT.EDU
Mon Jul 18 16:55:49 EDT 2005
Neil Williams <linux at codehelp.co.uk> writes:
>> > Anyways, it's actually calling qof_class_get_parameter, as shown in the
>> > error report.
>>
>> Sorry, what duplicate names?
>
> Where an API function is redefined with a new name e.g.
> $ cd gnucash-gnome2/src/engine/
> $ grep "define gnc" *.h
>
> Most, in this case, are from gncObject.h, QueryCore.h and QueryNew.h
>
> Are these all deprecated? Should they be?
>
> Are they just historical or is there an advantage?
They exist because we have old APIs and new APIs and didn't
want to have to re-write a LOT of code just because we changed
function names. The old names are deprecated but should probably
only be removed in the next release, not the current G2 code.
-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