Re: [pdf-devel] Patch for FS#115

2010-04-20 Thread Jose E . Marchesi
> 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 w

Re: [pdf-devel] Patch for FS#115

2010-04-18 Thread gerel
> Date: Sun, 18 Apr 2010 12:59:55 +0200 (CEST) > From: Jose E. Marchesi > > > 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_boo

Re: [pdf-devel] Patch for FS#115

2010-04-18 Thread Jose E . Marchesi
Here is a patch for FS#115 with casting. If you start working in a task, please set yourself as the asignee of that task and change its status to STARTED. Note that we still need stdbool.h, I guess wa can't get rid of it. It is not a problem to use stdbool's 'bool' type in pdf-list.

[pdf-devel] Patch for FS#115

2010-04-17 Thread gerel
Hi GNU PDFists, Here is a patch for FS#115 with casting. Note that we still need stdbool.h, I guess wa can't get rid of it. ## # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: ge...@gnu.org-20100417212056-37k2sfn5njwt1m72 # target_branch: file:///home/gerel/PROJECTS/libgnupdf/trunk