2015-11-01 09:05:13 +01:00
|
|
|
/*
|
2016-03-22 01:32:03 +01:00
|
|
|
see copyright notice in squirrel.h
|
2015-11-01 09:05:13 +01:00
|
|
|
*/
|
|
|
|
#include "sqpcheader.h"
|
2016-02-20 23:25:00 +01:00
|
|
|
#ifndef SQ_EXCLUDE_DEFAULT_MEMFUNCTIONS
|
2016-03-22 01:32:03 +01:00
|
|
|
void *sq_vm_malloc(SQUnsignedInteger size){ return malloc(size); }
|
2015-11-01 09:05:13 +01:00
|
|
|
|
2016-03-22 01:32:03 +01:00
|
|
|
void *sq_vm_realloc(void *p, SQUnsignedInteger SQ_UNUSED_ARG(oldsize), SQUnsignedInteger size){ return realloc(p, size); }
|
2015-11-01 09:05:13 +01:00
|
|
|
|
2016-03-22 01:32:03 +01:00
|
|
|
void sq_vm_free(void *p, SQUnsignedInteger SQ_UNUSED_ARG(size)){ free(p); }
|
2016-02-20 23:25:00 +01:00
|
|
|
#endif
|