Go to the source code of this file.
Functions | |
| void * | m_try_malloc (size_t size) |
| Attempd to allocate size bytes, and return NULL on failure. Does not initialize the memory. | |
| void * | m_try_malloc0 (size_t size) |
| Attempt to allocate size bytes, initialized to 0's, and return NULL on failure. | |
| void * | m_try_realloc (void *ptr, size_t size) |
| reallocate memory, the new memory is uninitialized. | |
| void | m_free (void *ptr) |
| Free the memory referenced by ptr. If ptr is NULL, no operation is performed. | |
| void* m_try_malloc | ( | size_t | size | ) |
Attempd to allocate size bytes, and return NULL on failure. Does not initialize the memory.
| size | number of bytes to allocate |
| void* m_try_malloc0 | ( | size_t | size | ) |
Attempt to allocate size bytes, initialized to 0's, and return NULL on failure.
| size | number of bytes to allocate |
| void m_free | ( | void * | ptr | ) |
Free the memory referenced by ptr. If ptr is NULL, no operation is performed.
| ptr | pointer to memory |
1.4.7