Because it's a constant. -derek
Sent on my mobile. Please forgive any typos. ----- Reply message ----- From: "Chenxiong Qi" <[email protected]> To: "[email protected]" <[email protected]> Subject: Question about QofIdType assertion in QofCollection Date: Mon, Dec 29, 2014 3:35 AM 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 _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
