[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Patch for FS#115
From: |
Jose E . Marchesi |
Subject: |
Re: [pdf-devel] Patch for FS#115 |
Date: |
Tue, 20 Apr 2010 16:34:41 +0200 (CEST) |
> 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 <address@hidden>
http://www.jemarch.net
GNU Project http://www.gnu.org