| 3 | // *********************************************************************** |
| 4 | |
| 5 | static void* LuaAllocator(void* ud, void* ptr, u64 osize, u64 nsize) { |
| 6 | if (nsize == 0) { |
| 7 | RawFree(ptr); |
| 8 | return nullptr; |
| 9 | } else { |
| 10 | return RawRealloc(ptr, nsize, osize, true); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | // *********************************************************************** |
| 15 |
nothing calls this directly
no outgoing calls
no test coverage detected