C++ (Qt)/* Define the container allocation functions in a separate file, so that our users can easily override them.*/ void *qMalloc(size_t size){ return ::malloc(size);} void qFree(void *ptr){ ::free(ptr);} void *qRealloc(void *ptr, size_t size){ return ::realloc(ptr, size);}