> 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?
We finally implemented the simpler solution of typedef pdf_bool_t as a
bool. Your patch is also applied.
Please close the flyspray task.
Thanks.
--
Jose E. Marchesi <[email protected]>
http://www.jemarch.net
GNU Project http://www.gnu.org