first commit

This commit is contained in:
Kamrdip Joshi
2021-07-02 15:52:25 +05:30
commit a530a79566
87 changed files with 11341 additions and 0 deletions

14
include/mupdf/fitz/pool.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef MUPDF_FITZ_POOL_H
#define MUPDF_FITZ_POOL_H
#include "mupdf/fitz/system.h"
#include "mupdf/fitz/context.h"
typedef struct fz_pool_s fz_pool;
fz_pool *fz_new_pool(fz_context *ctx);
void *fz_pool_alloc(fz_context *ctx, fz_pool *pool, size_t size);
char *fz_pool_strdup(fz_context *ctx, fz_pool *pool, const char *s);
void fz_drop_pool(fz_context *ctx, fz_pool *pool);
#endif