diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-09-10 18:10:49 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-09-11 20:06:36 +0200 |
commit | acfc02c1747065fe450c7cfeb6f1844b62335f08 (patch) | |
tree | 5887806a2e6b99bbb0255e013a9028810e230a7f /base/gsgstate.c | |
parent | Import Ghostscript 9.52 (diff) | |
download | ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.gz ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.bz2 ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.zip |
Import Ghostscript 9.53ghostscript-9.53
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/gsgstate.c')
-rw-r--r-- | base/gsgstate.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/base/gsgstate.c b/base/gsgstate.c index 35ce6b32..d74a6f09 100644 --- a/base/gsgstate.c +++ b/base/gsgstate.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2019 Artifex Software, Inc. +/* Copyright (C) 2001-2020 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -148,24 +148,6 @@ gs_gstate_initialize(gs_gstate * pgs, gs_memory_t * mem) return 0; } -/* - * Make a temporary copy of a gs_gstate. Note that this does not - * do all the necessary reference counting, etc. However, it does - * clear out the transparency stack in the destination. - */ -gs_gstate * -gs_gstate_copy_temp(const gs_gstate * pgs, gs_memory_t * mem) -{ - gs_gstate *pgs_copy = - gs_alloc_struct(mem, gs_gstate, &st_gs_gstate, - "gs_gstate_copy"); - - if (pgs_copy) { - *pgs_copy = *pgs; - } - return pgs_copy; -} - /* Increment reference counts to note that an gs_gstate has been copied. */ void gs_gstate_copied(gs_gstate * pgs) |