mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
235c9d7dc4
Patch by Angus Leeming svn path=/trunk/KDE/kdegraphics/kdvi/; revision=453640
22 lines
465 B
C++
22 lines
465 B
C++
// -*- C++ -*-
|
|
#ifndef _xdvi_h
|
|
#define _xdvi_h
|
|
|
|
/*
|
|
* Written by Eric C. Cooper, CMU
|
|
*/
|
|
|
|
#define ROUNDUP(x,y) (((x)+(y)-1)/(y))
|
|
|
|
extern unsigned long num (FILE *, int);
|
|
extern long snum(FILE *, int);
|
|
extern struct WindowRec mane, currwin;
|
|
|
|
#define one(fp) ((unsigned char) getc(fp))
|
|
#define sone(fp) ((long) one(fp))
|
|
#define two(fp) num (fp, 2)
|
|
#define stwo(fp) snum(fp, 2)
|
|
#define four(fp) num (fp, 4)
|
|
#define sfour(fp) snum(fp, 4)
|
|
|
|
#endif /* _xdvi_h */
|