summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/xpdf/Object.h
Unidiff
Diffstat (limited to 'noncore/unsupported/qpdf/xpdf/Object.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/xpdf/Object.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/unsupported/qpdf/xpdf/Object.h b/noncore/unsupported/qpdf/xpdf/Object.h
index 000ffa0..7a67a7d 100644
--- a/noncore/unsupported/qpdf/xpdf/Object.h
+++ b/noncore/unsupported/qpdf/xpdf/Object.h
@@ -1,11 +1,11 @@
1//======================================================================== 1//========================================================================
2// 2//
3// Object.h 3// Object.h
4// 4//
5// Copyright 1996 Derek B. Noonburg 5// Copyright 1996-2002 Glyph & Cog, LLC
6// 6//
7//======================================================================== 7//========================================================================
8 8
9#ifndef OBJECT_H 9#ifndef OBJECT_H
10#define OBJECT_H 10#define OBJECT_H
11 11
@@ -173,14 +173,14 @@ public:
173 GBool streamIs(char *dictType); 173 GBool streamIs(char *dictType);
174 void streamReset(); 174 void streamReset();
175 void streamClose(); 175 void streamClose();
176 int streamGetChar(); 176 int streamGetChar();
177 int streamLookChar(); 177 int streamLookChar();
178 char *streamGetLine(char *buf, int size); 178 char *streamGetLine(char *buf, int size);
179 int streamGetPos(); 179 Guint streamGetPos();
180 void streamSetPos(int pos); 180 void streamSetPos(Guint pos, int dir = 0);
181 Dict *streamGetDict(); 181 Dict *streamGetDict();
182 182
183 // Output. 183 // Output.
184 char *getTypeName(); 184 char *getTypeName();
185 void print(FILE *f = stdout); 185 void print(FILE *f = stdout);
186 186
@@ -284,16 +284,16 @@ inline int Object::streamGetChar()
284inline int Object::streamLookChar() 284inline int Object::streamLookChar()
285 { return stream->lookChar(); } 285 { return stream->lookChar(); }
286 286
287inline char *Object::streamGetLine(char *buf, int size) 287inline char *Object::streamGetLine(char *buf, int size)
288 { return stream->getLine(buf, size); } 288 { return stream->getLine(buf, size); }
289 289
290inline int Object::streamGetPos() 290inline Guint Object::streamGetPos()
291 { return stream->getPos(); } 291 { return stream->getPos(); }
292 292
293inline void Object::streamSetPos(int pos) 293inline void Object::streamSetPos(Guint pos, int dir)
294 { stream->setPos(pos); } 294 { stream->setPos(pos, dir); }
295 295
296inline Dict *Object::streamGetDict() 296inline Dict *Object::streamGetDict()
297 { return stream->getDict(); } 297 { return stream->getDict(); }
298 298
299#endif 299#endif