diff options
-rw-r--r-- | src/gos/gos_qt.cpp | 5 | ||||
-rw-r--r-- | src/gos/gos_qt.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gos/gos_qt.cpp b/src/gos/gos_qt.cpp index e7480dd2..8a8e2bd1 100644 --- a/src/gos/gos_qt.cpp +++ b/src/gos/gos_qt.cpp @@ -86,6 +86,11 @@ void* gfxAlloc(size_t sz) return malloc(sz); } +void* gfxRealloc(void* ptr, size_t oldsz, size_t newsz) +{ + return realloc(ptr, newsz); +} + void gfxFree(void* ptr) { free(ptr); diff --git a/src/gos/gos_qt.h b/src/gos/gos_qt.h index 45d743f5..75947242 100644 --- a/src/gos/gos_qt.h +++ b/src/gos/gos_qt.h @@ -45,6 +45,7 @@ void _gosDeinit(); void gfxHalt(const char* msg); void gfxExit(void); void* gfxAlloc(size_t sz); +void* gfxRealloc(void *ptr, size_t oldsz, size_t newsz); void gfxFree(void* ptr); void gfxYield(void); void gfxSleepMilliseconds(delaytime_t ms); |