diff options
author | Robin Watts <robin.watts@artifex.com> | 2019-01-01 18:34:45 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2019-01-04 15:43:49 +0000 |
commit | 7fe04b119618b476586e5f5b85c46d72ff05ebfc (patch) | |
tree | 8a0a723b407f95fc58e973705ffb0a210b26ee26 /psi/psapi.h | |
parent | 2bc43397c39db60b865ca6afd14c048d9e595359 (diff) | |
download | ghostpdl-7fe04b119618b476586e5f5b85c46d72ff05ebfc.tar.gz |
Add -I handling to gpdl.
This requires an "add_path" entrypoint be added for each language
(NULL for everything except PS).
This causes the block of memory used for the -I path to be leaked. I
suspect this is the same as in gs. A fix for this is a little involved
so it'll wait for now.
Diffstat (limited to 'psi/psapi.h')
-rw-r--r-- | psi/psapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/psi/psapi.h b/psi/psapi.h index d76fc33b4..168e4710e 100644 --- a/psi/psapi.h +++ b/psi/psapi.h @@ -73,6 +73,10 @@ psapi_set_param(gs_lib_ctx_t *ctx, const void *val); int +psapi_add_path(gs_lib_ctx_t *ctx, + const char *path); + +int psapi_run_string_begin(gs_lib_ctx_t *instance, int user_errors, int *pexit_code); |