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 /psi/psapi.h | |
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 'psi/psapi.h')
-rw-r--r-- | psi/psapi.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/psi/psapi.h b/psi/psapi.h index 74375d9b..5e38ce41 100644 --- a/psi/psapi.h +++ b/psi/psapi.h @@ -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 @@ -57,20 +57,17 @@ psapi_init_with_args01(gs_lib_ctx_t *instance, int psapi_init_with_args2(gs_lib_ctx_t *instance); -typedef enum { - psapi_spt_invalid = -1, - psapi_spt_null = 0, /* void * is NULL */ - psapi_spt_bool = 1, /* void * is NULL (false) or non-NULL (true) */ - psapi_spt_int = 2, /* void * is a pointer to an int */ - psapi_spt_float = 3, /* void * is a float * */ - psapi_spt_name = 4, /* void * is a char * */ - psapi_spt_string = 5 /* void * is a char * */ -} psapi_sptype; int psapi_set_param(gs_lib_ctx_t *ctx, - psapi_sptype type, - const char *param, - const void *val); + gs_param_list *plist); + +int +psapi_set_device_param(gs_lib_ctx_t *ctx, + gs_param_list *plist); + +int +psapi_get_device_params(gs_lib_ctx_t *ctx, + gs_param_list *plist); int psapi_add_path(gs_lib_ctx_t *ctx, |