> Date: Thu, 22 Jan 2009 20:48:24 +0100 > From: jema...@gnu.org > > Gerel, what do you think about this? We would of course loose the > benefits of the opaque pointers in this case, but 'pdf_obj_equal_p' > throwing PDF_ENOMEM sounds quite weird, and I think that we could make an > exception and publish the iterator structure. >
BTW An alternative would be to allocate an iterator along with the list, and still have the structures hidden from the public. What you think ? Hm, a pre-allocated iterator... but then we would need to update the module interface to allow the client to get a reference to it, right? -- Jose E. Marchesi <jema...@gnu.org> http://www.jemarch.net GNU Project http://www.gnu.org