diff options
author | Emery Hemingway <githubjunk@spam.works> | 2017-03-31 16:13:06 -0500 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-31 23:13:06 +0200 |
commit | 7e351fc7fa96b4d560c5a51118bab22abb590585 (patch) | |
tree | e0f5dd4deb394e86d95244317b0a328bb970842d /lib/system/dyncalls.nim | |
parent | 57246cbcec2f747d5af33ebf4c8c0e0a531eba02 (diff) | |
download | Nim-7e351fc7fa96b4d560c5a51118bab22abb590585.tar.gz |
support for the Genode OS framework (#5560)
Diffstat (limited to 'lib/system/dyncalls.nim')
-rw-r--r-- | lib/system/dyncalls.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/system/dyncalls.nim b/lib/system/dyncalls.nim index be6275338..2b86ddf25 100644 --- a/lib/system/dyncalls.nim +++ b/lib/system/dyncalls.nim @@ -146,6 +146,17 @@ elif defined(windows) or defined(dos): if result != nil: return procAddrError(name) +elif defined(genode): + + proc nimUnloadLibrary(lib: LibHandle) {. + error: "nimUnloadLibrary not implemented".} + + proc nimLoadLibrary(path: string): LibHandle {. + error: "nimLoadLibrary not implemented".} + + proc nimGetProcAddr(lib: LibHandle, name: cstring): ProcAddr {. + error: "nimGetProcAddr not implemented".} + else: {.error: "no implementation for dyncalls".} |