Question about QofIdType assertion in QofCollection

Chenxiong Qi qcxhome at gmail.com
Mon Dec 29 03:35:41 EST 2014


Hi all,

In qof_collection_add_entity and qof_collection_insert_entity, it expects,

g_return_if_fail (col->e_type == ent->e_type);

Is this the actual expectation by checking the equivalence of pointer
locations, why not the values?

-- 
Regards,
Chenxiong Qi


More information about the gnucash-devel mailing list