mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
minor update for the genode target
(cherry picked from commit fab70e4fe3)
This commit is contained in:
@@ -70,7 +70,7 @@ proc newMapSlab(): ptr MapSlab =
|
||||
|
||||
iterator items(s: ptr MapSlab): ptr Map =
|
||||
let mapCount = (SlabBackendSize - sizeof(SlabMeta)) div sizeof(Map)
|
||||
for i in 0 .. <mapCount:
|
||||
for i in 0 ..< mapCount:
|
||||
yield s.maps[i].addr
|
||||
|
||||
var slabs: ptr MapSlab
|
||||
|
||||
@@ -2057,7 +2057,7 @@ elif defined(genode):
|
||||
importcpp: "#->parent().exit(@); Genode::sleep_forever()", header: "<base/sleep.h>".}
|
||||
|
||||
proc quit*(errorcode: int = QuitSuccess) =
|
||||
systemEnv.quit(errorCode)
|
||||
systemEnv.quit(errorcode)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user