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
7typedef struct fz_pool_s fz_pool;
8
9fz_pool *fz_new_pool(fz_context *ctx);
10void *fz_pool_alloc(fz_context *ctx, fz_pool *pool, size_t size);
11char *fz_pool_strdup(fz_context *ctx, fz_pool *pool, const char *s);
12void fz_drop_pool(fz_context *ctx, fz_pool *pool);
13
14#endif
15