1 //========================================================================
5 // Copyright 1996-2002 Glyph & Cog, LLC
7 //========================================================================
20 //------------------------------------------------------------------------
22 //------------------------------------------------------------------------
33 // Reference counting.
34 int incRef() { return ++ref; }
35 int decRef() { return --ref; }
37 // Get number of elements.
38 int getLength() { return length; }
41 void add(Object *elem);
44 Object *get(int i, Object *obj);
45 Object *getNF(int i, Object *obj);
49 XRef *xref; // the xref table for this PDF file
50 Object *elems; // array of elements
51 int size; // size of <elems> array
52 int length; // number of elements in array
53 int ref; // reference count