clooneljump/lib/physfs-2.0.3/lzma/C/Archive/7z/7zAlloc.h

21 lines
335 B
C
Raw Normal View History

2014-02-12 22:59:58 +00:00
/* 7zAlloc.h */
#ifndef __7Z_ALLOC_H
#define __7Z_ALLOC_H
#include <stddef.h>
typedef struct _ISzAlloc
{
void *(*Alloc)(size_t size);
void (*Free)(void *address); /* address can be 0 */
} ISzAlloc;
void *SzAlloc(size_t size);
void SzFree(void *address);
void *SzAllocTemp(size_t size);
void SzFreeTemp(void *address);
#endif