diff options
author | Sam James <sam@gentoo.org> | 2022-09-21 14:18:08 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-02 04:31:25 +0100 |
commit | a529111f77ff46f4836fe7312e70953bc16587cf (patch) | |
tree | 9dc3924cb1a6ef3ef853b7bb45f735365e0b4e6d /base/gserrors.h | |
parent | Import Ghostscript 9.56.1 (diff) | |
download | ghostscript-gpl-patches-ghostscript-10.tar.gz ghostscript-gpl-patches-ghostscript-10.tar.bz2 ghostscript-gpl-patches-ghostscript-10.zip |
Import Ghostscript 10.0ghostscript-10.0ghostscript-10
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'base/gserrors.h')
-rw-r--r-- | base/gserrors.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/base/gserrors.h b/base/gserrors.h index 0e4982d7..d91422d6 100644 --- a/base/gserrors.h +++ b/base/gserrors.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2021 Artifex Software, Inc. +/* Copyright (C) 2001-2022 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -62,6 +62,15 @@ enum gs_error_type { /* invalidid is for the NeXT DPS extension. */ gs_error_invalidid = -30, +/* We need a specific stackoverflow error for the PDF interpreter to avoid dropping into + * the Postscript interpreter's stack extending code, when the PDF interpreter is called from + * Postscript + */ + gs_error_pdf_stackoverflow = -31, + +/* Internal error for the C-based PDF interpreter, to indicate a circular PDF reference */ + gs_error_circular_reference = -32, + /* ------ Pseudo-errors used internally ------ */ gs_error_hit_detected = -99, @@ -121,8 +130,6 @@ enum gs_error_type { */ gs_error_handled = -111, -/* Internal error for the C-based PDF interpreter, to indicate a circular PDF reference */ - gs_error_circular_reference = -112, }; /* We do provide a typedef type for external API use */ |