#include <stddef.h>
#include "host.h"
Go to the source code of this file.
◆ alloc_big_zeros()
void* alloc_big_zeros |
( |
inT32 |
count | ) |
|
Definition at line 43 of file memry.cpp.
44 return calloc(static_cast<size_t>(
count), 1);
◆ alloc_mem()
void* alloc_mem |
( |
inT32 |
count | ) |
|
Definition at line 39 of file memry.cpp.
40 return malloc(static_cast<size_t>(
count));
◆ alloc_string()
char* alloc_string |
( |
inT32 |
count | ) |
|
Definition at line 30 of file memry.cpp.
32 return static_cast<char*
>(malloc((
count + 3) & ~3));
◆ free_big_mem()
void free_big_mem |
( |
void * |
oldchunk | ) |
|
◆ free_mem()
void free_mem |
( |
void * |
oldchunk | ) |
|
◆ free_string()
void free_string |
( |
char * |
string | ) |
|