diff options
Diffstat (limited to 'apps/plugins/imageviewer/jpegp/mempool.h')
-rw-r--r-- | apps/plugins/imageviewer/jpegp/mempool.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/jpegp/mempool.h b/apps/plugins/imageviewer/jpegp/mempool.h new file mode 100644 index 0000000000..55bbdaf363 --- /dev/null +++ b/apps/plugins/imageviewer/jpegp/mempool.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #include <inttypes.h> | ||
2 | |||
3 | extern void init_mem_pool(const unsigned char *buf, const ssize_t buf_size); | ||
4 | extern void *malloc(size_t size); | ||
5 | extern void *calloc(size_t nelem, size_t elem_size); | ||
6 | extern ssize_t freeze_mem_pool(void); | ||
7 | extern void clear_mem_pool(void); | ||