6.6.3 - Alpha5 - images.save 方法使用 quality 参数时支持 png 格式的文件体积压缩 (issue #367)
This commit is contained in:
13
libs/imagequant/external/libimagequant/mempool.h
vendored
Normal file
13
libs/imagequant/external/libimagequant/mempool.h
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef MEMPOOL_H
|
||||
#define MEMPOOL_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
struct mempool;
|
||||
typedef struct mempool *mempoolptr;
|
||||
|
||||
LIQ_PRIVATE void* mempool_create(mempoolptr *mptr, const unsigned int size, unsigned int capacity, void* (*malloc)(size_t), void (*free)(void*));
|
||||
LIQ_PRIVATE void* mempool_alloc(mempoolptr *mptr, const unsigned int size, const unsigned int capacity);
|
||||
LIQ_PRIVATE void mempool_destroy(mempoolptr m);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user