Defined gfxRealloc() for GFX_USE_OS_QT
This commit is contained in:
parent
013bac84ce
commit
861e6b9869
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user