jankos/stl/mem.h

12 lines
260 B
C

struct MemSpace {
size_t size;
void* buffer;
};
/* Returns 0: if both memory buffers are the same
* Return !0: if the memory buffers are not the same
*
*/
int memcmp(const void* left, const void* right, const size_t size);
void* memalloc(const size_t);