mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-03 22:54:31 +00:00
19d98d6a74
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \; If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
23 lines
525 B
C
23 lines
525 B
C
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
|
|
#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 */
|