#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 51 of file memry.cpp.
52 return calloc(static_cast<size_t>(
count), 1);
◆ alloc_mem()
void* alloc_mem |
( |
inT32 |
count | ) |
|
Definition at line 47 of file memry.cpp.
48 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));
◆ alloc_struct()
void* alloc_struct |
( |
inT32 |
count, |
|
|
const char * |
name = NULL |
|
) |
| |
◆ free_big_mem()
void free_big_mem |
( |
void * |
oldchunk | ) |
|
◆ free_mem()
void free_mem |
( |
void * |
oldchunk | ) |
|
◆ free_string()
void free_string |
( |
char * |
string | ) |
|
◆ free_struct()
void free_struct |
( |
void * |
deadstruct, |
|
|
inT32 |
, |
|
|
const char * |
name = NULL |
|
) |
| |