Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/ghostscr...
File: ierrors.h
/* Copyright (C) 2001-2019 Artifex Software, Inc.
[0] Fix | Delete
All Rights Reserved.
[1] Fix | Delete
[2] Fix | Delete
This software is provided AS-IS with no warranty, either express or
[3] Fix | Delete
implied.
[4] Fix | Delete
[5] Fix | Delete
This software is distributed under license and may not be copied,
[6] Fix | Delete
modified or distributed except as expressly authorized under the terms
[7] Fix | Delete
of the license contained in the file LICENSE in this distribution.
[8] Fix | Delete
[9] Fix | Delete
Refer to licensing information at http://www.artifex.com or contact
[10] Fix | Delete
Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato,
[11] Fix | Delete
CA 94945, U.S.A., +1(415)492-9861, for further information.
[12] Fix | Delete
*/
[13] Fix | Delete
[14] Fix | Delete
[15] Fix | Delete
/* Definition of error codes */
[16] Fix | Delete
[17] Fix | Delete
#ifndef ierrors_INCLUDED
[18] Fix | Delete
# define ierrors_INCLUDED
[19] Fix | Delete
[20] Fix | Delete
#include "gserrors.h"
[21] Fix | Delete
[22] Fix | Delete
/*
[23] Fix | Delete
* DO NOT USE THIS FILE IN THE GRAPHICS LIBRARY.
[24] Fix | Delete
* THIS FILE IS PART OF THE POSTSCRIPT INTERPRETER.
[25] Fix | Delete
* USE gserrors.h IN THE LIBRARY.
[26] Fix | Delete
*/
[27] Fix | Delete
[28] Fix | Delete
/*
[29] Fix | Delete
* A procedure that may return an error always returns
[30] Fix | Delete
* a non-negative value (zero, unless otherwise noted) for success,
[31] Fix | Delete
* or negative for failure.
[32] Fix | Delete
* We use ints rather than an enum to avoid a lot of casting.
[33] Fix | Delete
*/
[34] Fix | Delete
[35] Fix | Delete
/* Define the error name table */
[36] Fix | Delete
extern const char *const gs_error_names[];
[37] Fix | Delete
[38] Fix | Delete
/* ------ PostScript Level 1 errors ------ */
[39] Fix | Delete
[40] Fix | Delete
#define LEVEL1_ERROR_NAMES\
[41] Fix | Delete
"unknownerror", "dictfull", "dictstackoverflow", "dictstackunderflow",\
[42] Fix | Delete
"execstackoverflow", "interrupt", "invalidaccess", "invalidexit",\
[43] Fix | Delete
"invalidfileaccess", "invalidfont", "invalidrestore", "ioerror",\
[44] Fix | Delete
"limitcheck", "nocurrentpoint", "rangecheck", "stackoverflow",\
[45] Fix | Delete
"stackunderflow", "syntaxerror", "timeout", "typecheck", "undefined",\
[46] Fix | Delete
"undefinedfilename", "undefinedresult", "unmatchedmark", "VMerror"
[47] Fix | Delete
[48] Fix | Delete
/* ------ Additional Level 2 errors (also in DPS) ------ */
[49] Fix | Delete
[50] Fix | Delete
#define LEVEL2_ERROR_NAMES\
[51] Fix | Delete
"configurationerror", "undefinedresource", "unregistered"
[52] Fix | Delete
[53] Fix | Delete
/* ------ Additional DPS errors ------ */
[54] Fix | Delete
[55] Fix | Delete
#define DPS_ERROR_NAMES\
[56] Fix | Delete
"invalidcontext", "invalidid"
[57] Fix | Delete
[58] Fix | Delete
#define ERROR_NAMES\
[59] Fix | Delete
LEVEL1_ERROR_NAMES, LEVEL2_ERROR_NAMES, DPS_ERROR_NAMES
[60] Fix | Delete
[61] Fix | Delete
/*
[62] Fix | Delete
* Define which error codes require re-executing the current object.
[63] Fix | Delete
*/
[64] Fix | Delete
#define GS_ERROR_IS_INTERRUPT(ecode)\
[65] Fix | Delete
((ecode) == gs_error_interrupt || (ecode) == gs_error_timeout)
[66] Fix | Delete
[67] Fix | Delete
#endif /* ierrors_INCLUDED */
[68] Fix | Delete
[69] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function