mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
20 lines
335 B
C
20 lines
335 B
C
/* 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
|