1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-09 01:07:16 +01:00
SqMod/external/Squirrel/sqmem.cpp

12 lines
384 B
C++
Raw Normal View History

2015-11-01 09:05:13 +01:00
/*
see copyright notice in squirrel.h
2015-11-01 09:05:13 +01:00
*/
#include "sqpcheader.h"
#ifndef SQ_EXCLUDE_DEFAULT_MEMFUNCTIONS
void *sq_vm_malloc(SQUnsignedInteger size){ return malloc(size); }
2015-11-01 09:05:13 +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
void sq_vm_free(void *p, SQUnsignedInteger SQ_UNUSED_ARG(size)){ free(p); }
#endif