mapnik/deps/pngquant/mempool.h
Daniel Patterson 40be65c947 Use built-in compiler defines to detect SSE support.
Remove SSE tests from SConstruct.
Minimize libimagequant files.
2015-05-20 16:17:47 -07:00

13 lines
388 B
C

#ifndef MEMPOOL_H
#define MEMPOOL_H
#include <stddef.h>
struct mempool;
typedef struct mempool *mempool;
LIQ_PRIVATE void* mempool_create(mempool *mptr, unsigned int size, unsigned int capacity, void* (*malloc)(size_t), void (*free)(void*));
LIQ_PRIVATE void* mempool_alloc(mempool *mptr, unsigned int size, unsigned int capacity);
LIQ_PRIVATE void mempool_destroy(mempool m);
#endif