misc/libphysfs/lzma/C/Archive/7z/7zAlloc.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

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