support for the Genode OS framework (#5560)
This commit is contained in:
parent
57246cbcec
commit
7e351fc7fa
14 changed files with 348 additions and 33 deletions
|
|
@ -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".}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue