"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base/gsfunc0.c" between
ghostscript-9.26.tar.xz and ghostscript-9.27.tar.xz

About: Ghostscript is an interpreter and rendering engine for the PostScript language and for PDF (GPL release).

gsfunc0.c  (ghostscript-9.26.tar.xz):gsfunc0.c  (ghostscript-9.27.tar.xz)
/* Copyright (C) 2001-2018 Artifex Software, Inc. /* Copyright (C) 2001-2019 Artifex Software, Inc.
All Rights Reserved. All Rights Reserved.
This software is provided AS-IS with no warranty, either express or This software is provided AS-IS with no warranty, either express or
implied. implied.
This software is distributed under license and may not be copied, This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution. of the license contained in the file LICENSE in this distribution.
Refer to licensing information at http://www.artifex.com or contact Refer to licensing information at http://www.artifex.com or contact
skipping to change at line 1363 skipping to change at line 1363
} else } else
*ppsfn = psfn; *ppsfn = psfn;
return code; return code;
} }
/* Free the parameters of a Sampled function. */ /* Free the parameters of a Sampled function. */
void void
gs_function_Sd_free_params(gs_function_Sd_params_t * params, gs_memory_t * mem) gs_function_Sd_free_params(gs_function_Sd_params_t * params, gs_memory_t * mem)
{ {
gs_free_const_object(mem, params->Size, "Size"); gs_free_const_object(mem, params->Size, "Size");
params->Size = NULL;
gs_free_const_object(mem, params->Decode, "Decode"); gs_free_const_object(mem, params->Decode, "Decode");
params->Decode = NULL;
gs_free_const_object(mem, params->Encode, "Encode"); gs_free_const_object(mem, params->Encode, "Encode");
params->Encode = NULL;
fn_common_free_params((gs_function_params_t *) params, mem); fn_common_free_params((gs_function_params_t *) params, mem);
gs_free_object(mem, params->pole, "gs_function_Sd_free_params"); gs_free_object(mem, params->pole, "gs_function_Sd_free_params");
params->pole = NULL;
gs_free_object(mem, params->array_step, "gs_function_Sd_free_params"); gs_free_object(mem, params->array_step, "gs_function_Sd_free_params");
params->array_step = NULL;
gs_free_object(mem, params->stream_step, "gs_function_Sd_free_params"); gs_free_object(mem, params->stream_step, "gs_function_Sd_free_params");
params->stream_step = NULL;
} }
/* aA helper for gs_function_Sd_serialize. */ /* aA helper for gs_function_Sd_serialize. */
static int serialize_array(const float *a, int half_size, stream *s) static int serialize_array(const float *a, int half_size, stream *s)
{ {
uint n; uint n;
const float dummy[2] = {0, 0}; const float dummy[2] = {0, 0};
int i, code; int i, code;
if (a != NULL) if (a != NULL)
 End of changes. 7 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)