misc/libphysfs/lzma/C/Archive/7z/7zBuffer.h
author alfadur
Fri, 13 Apr 2018 00:17:30 +0200
changeset 13321 23ade5604f8d
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Fix bullet trails overlapping when the pass through wrap or bounce world edge

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