Skip to content

Commit 754d076

Browse files
authored
and no userdata here either...
1 parent 35d670d commit 754d076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers/repl.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ when not defined(WEB):
5353
completions = completionsArray
5454
hints = hintsTable
5555
56-
proc completionsCback(buf: constChar; lc: ptr LinenoiseCompletions, userdata: pointer) {.cdecl.} =
56+
proc completionsCback(buf: constChar; lc: ptr LinenoiseCompletions) {.cdecl.} =
5757
var token = $(buf)
5858
var copied = strip($(buf))
5959
let tokenParts = splitWhitespace(token)
@@ -64,7 +64,7 @@ when not defined(WEB):
6464
linenoiseAddCompletion(lc, (copied & item).cstring)
6565

6666

67-
proc hintsCback(buf: constChar; color: var cint; bold: var cint, userdata: pointer): cstring {.cdecl.} =
67+
proc hintsCback(buf: constChar; color: var cint; bold: var cint): cstring {.cdecl.} =
6868
var token = $(buf)
6969
let tokenParts = splitWhitespace(token)
7070
if tokenParts.len >= 1:

0 commit comments

Comments
 (0)