diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-30 10:59:39 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-01 00:04:14 +0200 |
commit | 5ff1d6955496b3cf9a35042c9ac35db43bc336b1 (patch) | |
tree | 6d470f7eb448f59f53e8df1010aec9dad8ce1f72 /extract/src/mem.h | |
parent | Import Ghostscript 9.53.1 (diff) | |
download | ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.gz ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.bz2 ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.zip |
Import Ghostscript 9.54ghostscript-9.54
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'extract/src/mem.h')
-rw-r--r-- | extract/src/mem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extract/src/mem.h b/extract/src/mem.h new file mode 100644 index 00000000..59729b1a --- /dev/null +++ b/extract/src/mem.h @@ -0,0 +1,14 @@ +#ifndef EXTRACT_MEM_H +#define EXTRACT_MEM_H + +#include <stdarg.h> +#include <string.h> + +void extract_bzero(void *b, size_t len); + +int extract_vasprintf(extract_alloc_t* alloc, char** out, const char* format, va_list va); +int extract_asprintf(extract_alloc_t* alloc, char** out, const char* format, ...); + +int extract_strdup(extract_alloc_t* alloc, const char* s, char** o_out); + +#endif |