[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] about PDF_OBJ_NULL
From: |
Jose E. Marchesi |
Subject: |
Re: [pdf-devel] about PDF_OBJ_NULL |
Date: |
Tue, 10 May 2011 20:44:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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 address@hidden
GNU Project http://www.gnu.org