Hi. I've read the GNU PDF Library Reference and I found C statements like "if (integer_obj != PDF_OBJ_NULL) ... " in <3.2 PDF Object>. I think instance of structure could't be compared in this way.
You are right, they cant: PDF_OBJ_NULL used to be a pointer, but now it is a structure. I just applied a patch changing the name of the internal constant PDF_OBJ_NULL to _pdf_obj_null, to avoid a clash with the member of the pdf_obj_type_e enumeration, and providing the PDF_OBJ_IS_NULL macro. Thanks. -- Jose E. Marchesi jema...@gnu.org GNU Project http://www.gnu.org