fix noDecl => nodecl (#16760)
* fix noDecl => nodecl * address comment * disable flaky tests/stdlib/thttpclient.nim on freebsd
This commit is contained in:
parent
ccb11a63fb
commit
14730d9d64
3 changed files with 6 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ asm """
|
|||
function print (text) { console.log (text); }
|
||||
"""
|
||||
|
||||
proc consoleprint (str:cstring): void {.importc: "print", noDecl.}
|
||||
proc consoleprint (str:cstring): void {.importc: "print", nodecl.}
|
||||
proc print* (a: varargs[string, `$`]) = consoleprint "$1: $2" % [consolePrefix, join(a, " ")]
|
||||
|
||||
type CallbackProc {.importc.} = proc () : cstring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue