diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-08-14 13:05:14 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-08-14 16:36:47 +0100 |
commit | 043a9629cfc27d743b5125584753fd15e462d772 (patch) | |
tree | 9d456e7a5bf706a45fb6085eeaf017921fa7be32 /psi/iapi.h | |
parent | d7e8ea24060997ea5f4be1808b45117fe59b9ead (diff) | |
download | ghostpdl-043a9629cfc27d743b5125584753fd15e462d772.tar.gz |
Update gsapi_set_params to use an "int *" for booleans.
Diffstat (limited to 'psi/iapi.h')
-rw-r--r-- | psi/iapi.h | 5 |
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 * */ |