Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/extract/src/mem.h @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 #ifndef EXTRACT_MEM_H | |
| 2 #define EXTRACT_MEM_H | |
| 3 | |
| 4 #include "extract/alloc.h" | |
| 5 | |
| 6 #include <stdarg.h> | |
| 7 #include <string.h> | |
| 8 | |
| 9 void extract_bzero(void *b, size_t len); | |
| 10 | |
| 11 int extract_vasprintf(extract_alloc_t* alloc, char** out, const char* format, va_list va) | |
| 12 #ifdef __GNUC__ | |
| 13 __attribute__ ((format (printf, 3, 0))) | |
| 14 #endif | |
| 15 ; | |
| 16 | |
| 17 int extract_asprintf(extract_alloc_t* alloc, char** out, const char* format, ...) | |
| 18 #ifdef __GNUC__ | |
| 19 __attribute__ ((format (printf, 3, 4))) | |
| 20 #endif | |
| 21 ; | |
| 22 | |
| 23 int extract_strdup(extract_alloc_t* alloc, const char* s, char** o_out); | |
| 24 | |
| 25 #endif |
