update linenoise (#5357)
This commit is contained in:
parent
80ffae62fb
commit
21b03257ef
3 changed files with 159 additions and 57 deletions
|
|
@ -14,8 +14,7 @@ type
|
|||
|
||||
CompletionCallback* = proc (a2: cstring; a3: ptr Completions) {.cdecl.}
|
||||
|
||||
{.emit: staticRead"clinenoise.h".}
|
||||
{.emit: staticRead"clinenoise.c".}
|
||||
{.compile: "linenoise.c".}
|
||||
|
||||
proc setCompletionCallback*(a2: ptr CompletionCallback) {.
|
||||
importc: "linenoiseSetCompletionCallback".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue