sqmem.cpp 363 B

1234567891011
  1. /*
  2. see copyright notice in squirrel.h
  3. */
  4. #include "sqpcheader.h"
  5. #ifndef SQ_EXCLUDE_DEFAULT_MEMFUNCTIONS
  6. void *sq_vm_malloc(SQUnsignedInteger size){ return malloc(size); }
  7. void *sq_vm_realloc(void *p, SQUnsignedInteger /*oldsize*/, SQUnsignedInteger size){ return realloc(p, size); }
  8. void sq_vm_free(void *p, SQUnsignedInteger /*size*/) { free(p); }
  9. #endif