misc/libphysfs/lzma/C/Archive/7z/7zAlloc.h
author antonc27 <antonc27@mail.ru>
Fri, 16 Mar 2018 19:17:20 +0100
branchios-develop
changeset 13229 f62ea2a45f47
parent 12213 bb5522e88ab2
permissions -rw-r--r--
- Hide 'Campaign' button (not ready on iOS...)

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