3 #if !defined(MEMORY_H_INCLUDED) 4 #define MEMORY_H_INCLUDED 1 23 #define Memory__new(Type, from) \ 24 ((Type)Memory__allocate(sizeof(*((Type)0)), from)) 31 #if defined(MEMORY_LEAK_CHECK) 32 extern void Memory__leak_check(
Memory memory);
33 extern void Memory__leak_found(
Memory memory);
34 #endif // defined(MEMORY_LEAK_CHECK) 39 #endif // !defined(MEMORY_H_INCLUDED) void Memory__free(Memory memory)
Releases the storage associated with memory.
void * Memory
Memory is a pointer to memory.
const char * String_Const
Memory Memory__allocate(unsigned int bytes, String_Const from)
Allocates bytes of memory and returns a pointer to it.