mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-25 12:11:00 +00:00
14 lines
No EOL
357 B
C
14 lines
No EOL
357 B
C
#ifndef __M_ALLOC_H__
|
|
#define __M_ALLOC_H__
|
|
#include <stdlib.h>
|
|
#include <malloc.h>
|
|
|
|
// These are the same as the same stdlib functions,
|
|
// except they bomb out with an error requester
|
|
// when they can't get the memory.
|
|
|
|
void *Malloc (size_t size);
|
|
void *Calloc (size_t num, size_t size);
|
|
void *Realloc (void *memblock, size_t size);
|
|
|
|
#endif //__M_ALLOC_H__
|