Merge pull request #3092 from stefantalpalaru/linenoise
rename lib/wrappers/linenoise/linenoise.{c,h}
This commit is contained in:
commit
7aa227ba79
3 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include "linenoise.h"
|
||||
#include "clinenoise.h"
|
||||
|
||||
#define LINENOISE_DEFAULT_HISTORY_MAX_LEN 100
|
||||
#define LINENOISE_MAX_LINE 4096
|
||||
|
|
@ -14,7 +14,7 @@ type
|
|||
|
||||
CompletionCallback* = proc (a2: cstring; a3: ptr Completions) {.cdecl.}
|
||||
|
||||
{.compile: "linenoise.c".}
|
||||
{.compile: "clinenoise.c".}
|
||||
|
||||
proc setCompletionCallback*(a2: ptr CompletionCallback) {.
|
||||
importc: "linenoiseSetCompletionCallback".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue