diff options
author | Julian Smith <jules@op59.net> | 2020-07-01 14:00:17 +0100 |
---|---|---|
committer | Julian Smith <jules@op59.net> | 2020-07-01 17:23:10 +0100 |
commit | 07047636c74555d22c87fd7f05535b57e681a35d (patch) | |
tree | bb6e7e5751307f94dc6937b747a85a653f1f08e7 /toolbin | |
parent | 9900ecb043f3c138160f7d78d32af9967ea09b64 (diff) | |
download | ghostpdl-07047636c74555d22c87fd7f05535b57e681a35d.tar.gz |
toolbin/gsapi.py: added example of how to build .so and run.
Diffstat (limited to 'toolbin')
-rwxr-xr-x | toolbin/gsapi.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/toolbin/gsapi.py b/toolbin/gsapi.py index 52bf5eb37..6ab96293d 100755 --- a/toolbin/gsapi.py +++ b/toolbin/gsapi.py @@ -13,9 +13,8 @@ Overview: Usage: - Need to ensure that libgs.so is found, e.g. with: - - LD_LIBRARY_PATH=sodebugbin + make sodebug + LD_LIBRARY_PATH=sodebugbin ./toolbin/gsapi.py Requirements: @@ -79,7 +78,7 @@ def gsapi_set_stdio(instance, stdin_fn, stdout_fn, stderr_fn): stderr_fn2 = _stdio_fn(stderr_fn) if stderr_fn else None e = _libgs.gsapi_set_stdio(instance, stdout_fn2, stdout_fn2, stdout_fn2) if not e: - # Need to keep references to call back functions. + # Need to keep references to call-back functions. global _gsapi_set_stdio_refs _gsapi_set_stdio_refs = stdin_fn2, stdout_fn2, stderr_fn2 return e |