aboutsummaryrefslogtreecommitdiff
path: root/deps/lzma-16.04/C/7zAlloc.h
blob: 4d7502ffb1c969ab075ac7d21c656832fdd5126f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 7zAlloc.h -- Allocation functions
2013-03-25 : Igor Pavlov : Public domain */

#ifndef __7Z_ALLOC_H
#define __7Z_ALLOC_H

#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif

void *SzAlloc(void *p, size_t size);
void SzFree(void *p, void *address);

void *SzAllocTemp(void *p, size_t size);
void SzFreeTemp(void *p, void *address);

#ifdef __cplusplus
}
#endif

#endif