Code::Blocks  SVN r11506
sqmem.cpp
Go to the documentation of this file.
1 /*
2  see copyright notice in squirrel.h
3 */
4 #include "sqpcheader.h"
5 void *sq_vm_malloc(SQUnsignedInteger size){ return malloc(size); }
6 
7 // C::B patch: Make the compiler happy by commenting unused variables
8 void *sq_vm_realloc(void *p, SQUnsignedInteger /*oldsize*/, SQUnsignedInteger size){ return realloc(p, size); }
9 
10 // C::B patch: Make the compiler happy by commenting unused variables
11 void sq_vm_free(void *p, SQUnsignedInteger /*size*/){ free(p); }
void sq_vm_free(void *p, SQUnsignedInteger)
Definition: sqmem.cpp:11
void * sq_vm_realloc(void *p, SQUnsignedInteger, SQUnsignedInteger size)
Definition: sqmem.cpp:8
void * sq_vm_malloc(SQUnsignedInteger size)
Definition: sqmem.cpp:5