summaryrefslogtreecommitdiff
path: root/psi/iapi.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-08-14 13:05:14 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-08-14 16:36:47 +0100
commit043a9629cfc27d743b5125584753fd15e462d772 (patch)
tree9d456e7a5bf706a45fb6085eeaf017921fa7be32 /psi/iapi.h
parentd7e8ea24060997ea5f4be1808b45117fe59b9ead (diff)
downloadghostpdl-043a9629cfc27d743b5125584753fd15e462d772.tar.gz
Update gsapi_set_params to use an "int *" for booleans.
Diffstat (limited to 'psi/iapi.h')
-rw-r--r--psi/iapi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/psi/iapi.h b/psi/iapi.h
index 3ba84e27c..862d631dd 100644
--- a/psi/iapi.h
+++ b/psi/iapi.h
@@ -372,9 +372,8 @@ gsapi_exit(void *instance);
typedef enum {
gs_spt_invalid = -1,
gs_spt_null = 0, /* void * is NULL */
- gs_spt_bool = 1, /* For set, void * is NULL (false) or non-NULL
- * (true). For get, void * points to an int,
- * 0 false, 1 true. */
+ gs_spt_bool = 1, /* void * is a pointer to an int (0 false,
+ * non-zero true). */
gs_spt_int = 2, /* void * is a pointer to an int */
gs_spt_float = 3, /* void * is a float * */
gs_spt_name = 4, /* void * is a char * */