diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1999-04-08 06:46:44 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1999-04-08 06:46:44 +0000 |
commit | b31ea3c32890ba663f63dc895349a8fc6177f3bd (patch) | |
tree | d55b54f2fc3f5b3d850675513d0b7d3d61066019 /pcl/pcbiptrn.h | |
parent | cd33d1d02cb729af7cb63610059c8d2b66fdad3d (diff) |
extensive changes to support static removal from the pcl halftone
code. Removes use of extern in prototypes and adds the standard
prototype macros for argument templates. Adds support for device
resolution patterns.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@805 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pcbiptrn.h')
-rw-r--r-- | pcl/pcbiptrn.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pcl/pcbiptrn.h b/pcl/pcbiptrn.h index 47d0787ce..1d91b44de 100644 --- a/pcl/pcbiptrn.h +++ b/pcl/pcbiptrn.h @@ -14,38 +14,38 @@ * "non-const" structures, to facilitate working with systems that install all * initialized global data in ROM. */ -extern void pcl_pattern_init_bi_patterns( pcl_state_t *pcs ); +void pcl_pattern_init_bi_patterns(P1( pcl_state_t *pcs )); /* * Clear the renderings of the built-in patterns. This may be called during * a reset to conserve memory. */ -extern void pcl_pattern_clear_bi_patterns( pcl_state_t *pcs ); +void pcl_pattern_clear_bi_patterns(P1(pcl_state_t *pcs)); /* * For a given intensity value, return the corresponding shade pattern. A * null return indicates that a solid pattern should be used - the caller * must look at the intensity to determine if it is black or white. */ -extern pcl_pattern_t * pcl_pattern_get_shade( pcl_state_t *pcs, int inten ); +pcl_pattern_t * pcl_pattern_get_shade(P2( pcl_state_t *pcs, int inten)); /* * For a given index value, return the corresponding cross-hatch pattern. A * null return indicates that the pattern is out of range. The caller must * determine what to do in this case. */ -extern pcl_pattern_t * pcl_pattern_get_cross( pcl_state_t *pcs, int indx ); +pcl_pattern_t * pcl_pattern_get_cross(P2(pcl_state_t *pcs, int indx)); /* * Return a solid, 1 x 1 pattern for use with rasters. See the comments in * pcbiptrn.c for why this is necessary. */ -extern pcl_pattern_t * pcl_pattern_get_solid_pattern( pcl_state_t *pcs ); +pcl_pattern_t * pcl_pattern_get_solid_pattern(P1(pcl_state_t *pcs)); /* * Return an "unsolid", 1 x 1 pattern for use with GL/2. See the comments in * pcbiptrn.c for why this is necessary. */ -extern pcl_pattern_t * pcl_pattern_get_unsolid_pattern( pcl_state_t *pcs ); +pcl_pattern_t * pcl_pattern_get_unsolid_pattern(P1(pcl_state_t *pcs)); #endif /* pcbiptrn_INCLUDED */ |