summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-05-22 15:23:21 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-05-22 15:23:21 +0200
commit6dd088700980b69ac52338a142afef5ff34e18c3 (patch)
tree4092acc2085feb21643a0704a220fd26efdebe2e
parent2ecf4633f441dfe654e51a5528baf6449f08a528 (diff)
parent38b7581a28274181594cf78a11b156ca2753505f (diff)
downloadNim-6dd088700980b69ac52338a142afef5ff34e18c3.tar.gz
Merge pull request #4199 from oderwat/oderwat-fix-pragmas
Fixing pragmas (so syntax highligthing works).
-rw-r--r--lib/system/osalloc.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim
index 78410d716..8b83e194b 100644
--- a/lib/system/osalloc.nim
+++ b/lib/system/osalloc.nim
@@ -72,7 +72,7 @@ when defined(emscripten):
 
   proc osTryAllocPages(size: int): pointer = osAllocPages(size)
 
-  proc osDeallocPages(p: pointer, size: int) {.inline} =
+  proc osDeallocPages(p: pointer, size: int) {.inline.} =
     var mmapDescrPos = cast[ByteAddress](p) -% sizeof(EmscriptenMMapBlock)
     var mmapDescr = cast[EmscriptenMMapBlock](mmapDescrPos)
     munmap(mmapDescr.realPointer, mmapDescr.realSize)
@@ -107,7 +107,7 @@ elif defined(posix):
                              MAP_PRIVATE or MAP_ANONYMOUS, -1, 0)
     if result == cast[pointer](-1): result = nil
 
-  proc osDeallocPages(p: pointer, size: int) {.inline} =
+  proc osDeallocPages(p: pointer, size: int) {.inline.} =
     when reallyOsDealloc: discard munmap(p, size)
 
 elif defined(windows):