1 | #ifndef MUPDF_FITZ_POOL_H |
---|---|
2 | #define MUPDF_FITZ_POOL_H |
3 | |
4 | #include "mupdf/fitz/system.h" |
5 | #include "mupdf/fitz/context.h" |
6 | |
7 | typedef struct fz_pool_s fz_pool; |
8 | |
9 | fz_pool *fz_new_pool(fz_context *ctx); |
10 | void *fz_pool_alloc(fz_context *ctx, fz_pool *pool, size_t size); |
11 | char *fz_pool_strdup(fz_context *ctx, fz_pool *pool, const char *s); |
12 | void fz_drop_pool(fz_context *ctx, fz_pool *pool); |
13 | |
14 | #endif |
15 |