2022-05-19 01:51:26 -07:00
|
|
|
#ifndef MEMORY_DEFS_H
|
|
|
|
#define MEMORY_DEFS_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
namespace fallout {
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
typedef void*(MallocProc)(size_t size);
|
|
|
|
typedef void*(ReallocProc)(void* ptr, size_t newSize);
|
|
|
|
typedef void(FreeProc)(void* ptr);
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
} // namespace fallout
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
#endif /* MEMORY_DEFS_H */
|