misc/libphysfs/lzma/C/Archive/7z/7zBuffer.h
author Wuzzy <Wuzzy2@mail.ru>
Thu, 03 May 2018 22:12:13 +0200
changeset 13377 57e15407804d
parent 12218 bb5522e88ab2
permissions -rw-r--r--
Continental supplies: Fix continent ammo tooltip containing annoying "use of this weapon does not end turn"

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