misc/libphysfs/lzma/C/Archive/7z/7zBuffer.h
author nemo
Sun, 27 May 2018 20:32:06 -0400
changeset 13411 6a3f94fe2636
parent 12218 bb5522e88ab2
permissions -rw-r--r--
allow freezing airmines outside the Land area too. Make the top of frozen mine a little flatter

/* 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