misc/libphysfs/lzma/C/Archive/7z/7zAlloc.h
author nemo
Tue, 18 Jul 2017 11:29:50 -0400
changeset 12440 f03105f8d756
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Add .git, remove glob from things that aren't globs.

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