diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2021-06-10 11:40:23 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-06-10 11:42:20 +0100 |
commit | 6cf9c3d1631ba370af777ebc4fad18942f8c4196 (patch) | |
tree | 754f419ce026c2dd84f51f644b6c68f1612db1cd /base/stream.h | |
parent | bd56e2ddd62e5706dfafdfe817d71e6d27a7fe49 (diff) | |
download | ghostpdl-6cf9c3d1631ba370af777ebc4fad18942f8c4196.tar.gz |
Add sread_transient_string_reusable()
to match the new sread_transient_string()
Diffstat (limited to 'base/stream.h')
-rw-r--r-- | base/stream.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/stream.h b/base/stream.h index 3c1aeebca..e4b27910d 100644 --- a/base/stream.h +++ b/base/stream.h @@ -378,14 +378,17 @@ int file_close_disable(stream *); interpreter */ void sread_string(stream *, const byte *, uint); +void sread_string_reusable(stream *, const byte *, uint); + /* The string ownership is transferred from caller to stream. string_mem pointer must be allocator used to allocate the "string" buffer. */ void sread_transient_string(register stream *s, gs_memory_t *string_mem, const byte *ptr, uint len); +void +sread_transient_string_reusable(register stream *s, gs_memory_t *string_mem, const byte *ptr, uint len); -void sread_string_reusable(stream *, const byte *, uint); void swrite_string(stream *, byte *, uint); void sread_file(stream *, gp_file *, byte *, uint), swrite_file(stream *, gp_file *, byte *, uint); |