diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1999-01-29 22:46:43 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1999-01-29 22:46:43 +0000 |
commit | fee57f837144285fb99b021f337a38cdfb108d9e (patch) | |
tree | 1077c4769b6de870e23718a049bf16223bad659f /gs/src/gscrdp.h | |
parent | 853d4ddd0519270490ebe73f753a834c1445ff69 (diff) |
new interface for creating crds derived from the current crd.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@658 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/gscrdp.h')
-rw-r--r-- | gs/src/gscrdp.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gs/src/gscrdp.h b/gs/src/gscrdp.h index aa375de91..3d27fed09 100644 --- a/gs/src/gscrdp.h +++ b/gs/src/gscrdp.h @@ -25,15 +25,24 @@ #include "gscie.h" #include "gsparam.h" +#ifndef gx_device_DEFINED +# define gx_device_DEFINED +typedef struct gx_device_s gx_device; +#endif + /* * A driver can provide any number of its own CRDs through (read-only) * device parameters whose values are slightly modified PostScript-style * dictionaries. The driver doesn't need to concern itself with how the * parameters are encoded: it simply constructs a CRD and calls * param_write_cie_render1. + * + * Logically, the pcrd parameter for this procedure and the next one + * should be declared as const gs_cie_render *, but the procedures may + * cause certain cached (idempotent) values to be computed. */ int param_write_cie_render1(P4(gs_param_list * plist, gs_param_name key, - const gs_cie_render * pcrd, + gs_cie_render * pcrd, gs_memory_t * mem)); /* @@ -41,7 +50,7 @@ int param_write_cie_render1(P4(gs_param_list * plist, gs_param_name key, * into a parameter list, rather than as a named parameter in a larger * list. */ -int param_put_cie_render1(P3(gs_param_list * plist, const gs_cie_render * pcrd, +int param_put_cie_render1(P3(gs_param_list * plist, gs_cie_render * pcrd, gs_memory_t * mem)); /* |