File: SplashErrorCodes.h

package info (click to toggle)
poppler 20.09.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 16,092 kB
  • sloc: cpp: 151,577; ansic: 30,155; python: 367; makefile: 42; sh: 36
file content (50 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//========================================================================
//
// SplashErrorCodes.h
//
//========================================================================

//========================================================================
//
// Modified under the Poppler project - http://poppler.freedesktop.org
//
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
// Copyright (C) 2006, 2009 Albert Astals Cid <aacid@kde.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
//
//========================================================================

#ifndef SPLASHERRORCODES_H
#define SPLASHERRORCODES_H

//------------------------------------------------------------------------

#define splashOk 0 // no error

#define splashErrNoCurPt 1 // no current point

#define splashErrEmptyPath 2 // zero points in path

#define splashErrBogusPath 3 // only one point in subpath

#define splashErrNoSave 4 // state stack is empty

#define splashErrOpenFile 5 // couldn't open file

#define splashErrNoGlyph 6 // couldn't get the requested glyph

#define splashErrModeMismatch 7 // invalid combination of color modes

#define splashErrSingularMatrix 8 // matrix is singular

#define splashErrBadArg 9 // bad argument

#define splashErrZeroImage 254 // image of 0x0

#define splashErrGeneric 255

#endif