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