We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f011d commit 54bfd69Copy full SHA for 54bfd69
lib/system/osalloc.nim
@@ -296,15 +296,5 @@ elif hostOS == "standalone" or defined(StandaloneHeapSize):
296
if bumpPointer-size == cast[int](p):
297
dec bumpPointer, size
298
299
-elif hostOS == "any":
300
- proc osAllocPages(size: int): pointer {.inline.} =
301
- result = c_malloc(size.csize_t)
302
-
303
- proc osTryAllocPages(size: int): pointer {.inline.} =
304
305
306
- proc osDeallocPages(p: pointer, size: int) {.inline.} =
307
- c_free(p)
308
309
else:
310
{.error: "Port memory manager to your platform".}
0 commit comments