summaryrefslogtreecommitdiff
path: root/gs/src/gdevdevn.h
diff options
context:
space:
mode:
authorDan Coby <dan.coby@artifex.com>2005-07-08 22:04:31 +0000
committerDan Coby <dan.coby@artifex.com>2005-07-08 22:04:31 +0000
commit93988d9c8dbc9eeb7a4957d7f3caeca855969d75 (patch)
tree28baa131eb3399776639da55e24c43e7625c67b5 /gs/src/gdevdevn.h
parent6d040291e55b8c633bd8f7bbf5780a90f448c866 (diff)
downloadghostpdl-93988d9c8dbc9eeb7a4957d7f3caeca855969d75.tar.gz
Fix for 688192 Resolution dependant problems with tiffsep. Note: The
actual problem is related to garbage collection. DETAILS: The names of the separations are being lost when the garbage collection logic is attempting to relocate the names. The fix consists of storing the names in a byte array instead of using a gs_param_string. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5996 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevdevn.h')
-rw-r--r--gs/src/gdevdevn.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/gs/src/gdevdevn.h b/gs/src/gdevdevn.h
index d56a1d4ae..8f67e92fd 100644
--- a/gs/src/gdevdevn.h
+++ b/gs/src/gdevdevn.h
@@ -43,19 +43,18 @@ typedef fixed_colorant_name * fixed_colorant_names_list;
/*
* Structure for holding SeparationNames elements.
*/
-typedef struct gs_separations_s {
- int num_separations;
- const gs_param_string * names[GX_DEVICE_MAX_SEPARATIONS];
-} gs_separations;
+typedef struct devn_separation_name_s {
+ int size;
+ byte * data;
+} devn_separation_name;
/*
- * Structure for holding SeparationOrder elements.
+ * Structure for holding SeparationNames elements.
*/
-typedef struct gs_separation_order_s {
- int num_names;
- const gs_param_string *
- names[GX_DEVICE_MAX_SEPARATIONS + MAX_DEVICE_PROCESS_COLORS];
-} gs_separation_order;
+typedef struct gs_separations_s {
+ int num_separations;
+ devn_separation_name names[GX_DEVICE_MAX_SEPARATIONS];
+} gs_separations;
/*
* Type for holding a separation order map
@@ -87,7 +86,7 @@ typedef struct gs_devn_params_s {
/*
* Separation Order (if specified).
*/
- gs_separation_order separation_order;
+ int num_separation_order_names;
/*
* The SeparationOrder parameter may change the logical order of
* components.