summaryrefslogtreecommitdiff
path: root/pxl
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2010-11-02 16:47:43 +0000
committerHenry Stiles <henry.stiles@artifex.com>2010-11-02 16:47:43 +0000
commit9959b0d360b604b76240883fc921c55fb1c9c2ec (patch)
treec0ffdbdff03a122a03bb1fc6ab117c720c2b2665 /pxl
parentfbd4d052cb2ae843f0a77b291337e7f205539f39 (diff)
Document a procedure and changes another to static - no changes expected.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11881 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'pxl')
-rw-r--r--pxl/pxpthr.c5
-rw-r--r--pxl/pxpthr.h5
2 files changed, 7 insertions, 3 deletions
diff --git a/pxl/pxpthr.c b/pxl/pxpthr.c
index 055cd0326..ebb534813 100644
--- a/pxl/pxpthr.c
+++ b/pxl/pxpthr.c
@@ -71,7 +71,7 @@ pcl_end_page_noop(pcl_state_t *pcs, int num_copies, int flush)
return pxPassThrough;
}
-/* set variables other that setting the page device that do not
+/* set variables other than setting the page device that do not
default to pcl reset values */
void
pxPassthrough_pcl_state_nonpage_exceptions(px_state_t *pxs)
@@ -168,7 +168,7 @@ pxPassthrough_init(px_state_t *pxs)
return 0;
}
-void
+static void
pxPassthrough_setpagestate(px_state_t *pxs)
{
/* by definition we are in "snippet mode" if pxl has dirtied
@@ -204,7 +204,6 @@ pxPassthrough_setpagestate(px_state_t *pxs)
int
pxPassthrough(px_args_t *par, px_state_t *pxs)
{
-
stream_cursor_read r;
int code = 0;
uint used;
diff --git a/pxl/pxpthr.h b/pxl/pxpthr.h
index 89f599c09..f31c246a0 100644
--- a/pxl/pxpthr.h
+++ b/pxl/pxpthr.h
@@ -29,4 +29,9 @@ void pxpcl_pagestatereset(void);
/* release the passthrough state */
void pxpcl_release(void);
+/* set variables in pcl's state that are special to pass through mode,
+ these override the default pcl state variables when pcl is
+ entered. */
+void pxPassthrough_pcl_state_nonpage_exceptions(px_state_t *pxs);
+
#endif /* pxpthr_INCLUDED */