summaryrefslogtreecommitdiff
path: root/Source/external/Wuff/wuff_memory.c
blob: eaffa4e62ad65e9ec8cfdb583bf359a1ec74d8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>

#include "wuff_config.h"

/* Default memory allocators. */
/* They can be overridden with custom functions at build time. */
#ifndef WUFF_MEMALLOC_OVERRIDE
void * wuff_alloc(size_t size)
{
	return malloc(size);
}

void wuff_free(void * mem)
{
	free(mem);
}
#endif