Ignore:
Timestamp:
Aug 27, 2010, 11:00:52 AM (11 years ago)
Author:
Silvan Scherrer
Message:

poppler update to 0.14.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/poppler/Object.h

    r277 r461  
    1616// Copyright (C) 2007 Julien Rebetez <julienr@svn.gnome.org>
    1717// Copyright (C) 2008 Kees Cook <kees@outflux.net>
    18 // Copyright (C) 2008 Albert Astals Cid <aacid@kde.org>
     18// Copyright (C) 2008, 2010 Albert Astals Cid <aacid@kde.org>
    1919// Copyright (C) 2009 Jakub Wilk <ubanus@users.sf.net>
    2020//
     
    9797  objError,                     // error return from Lexer
    9898  objEOF,                       // end of file return from Lexer
    99   objNone                       // uninitialized object
     99  objNone,                      // uninitialized object
     100
     101  // poppler-only objects
     102  objUint                       // overflown integer that still fits in a unsigned integer
    100103};
    101104
    102 #define numObjTypes 14          // total number of object types
     105#define numObjTypes 15          // total number of object types
    103106
    104107//------------------------------------------------------------------------
     
    146149  Object *initEOF()
    147150    { initObj(objEOF); return this; }
     151  Object *initUint(unsigned int uintgA)
     152    { initObj(objUint); uintg = uintgA; return this; }
    148153
    149154  // Copy an object.
     
    178183  GBool isEOF() { return type == objEOF; }
    179184  GBool isNone() { return type == objNone; }
     185  GBool isUint() { return type == objUint; }
    180186
    181187  // Special type checking.
     
    201207  int getRefGen() { OBJECT_TYPE_CHECK(objRef); return ref.gen; }
    202208  char *getCmd() { OBJECT_TYPE_CHECK(objCmd); return cmd; }
     209  unsigned int getUint() { OBJECT_TYPE_CHECK(objUint); return uintg; }
    203210
    204211  // Array accessors.
     
    243250    GBool booln;                //   boolean
    244251    int intg;                   //   integer
     252    unsigned int uintg;         //   unsigned integer
    245253    double real;                //   real
    246254    GooString *string;          //   string
Note: See TracChangeset for help on using the changeset viewer.