> Date: Sun, 18 Apr 2010 12:59:55 +0200 (CEST) > From: Jose E. Marchesi <[email protected]> > > > Instead of making that cast I would create a new inlined static > function: > > bool *pdf_list_element_equals_fn (ELT1, ELT2) > > that would call the user-supplied callback, casting the bool to > pdf_bool_t as appropriate. Such an extra level of callback will allow > to make changes on the callback provided by pdf_list in the future. >
Right but I have no clue how we can access the user-suplied callback from pdf-list's callback. Can you give me a hint on this ? cheers, -gerel
