author | Wuzzy <almikes@aol.com> |
Sat, 15 Apr 2017 23:21:13 +0200 | |
changeset 12265 | 0641da8c22ee |
parent 12218 | bb5522e88ab2 |
permissions | -rw-r--r-- |
/* 7zBuffer.h */ #ifndef __7Z_BUFFER_H #define __7Z_BUFFER_H #include <stddef.h> #include "../../Types.h" typedef struct _CSzByteBuffer { size_t Capacity; Byte *Items; }CSzByteBuffer; void SzByteBufferInit(CSzByteBuffer *buffer); int SzByteBufferCreate(CSzByteBuffer *buffer, size_t newCapacity, void * (*allocFunc)(size_t size)); void SzByteBufferFree(CSzByteBuffer *buffer, void (*freeFunc)(void *)); #endif