Wraps variables inside when for macosx. Refs #461.
This commit is contained in:
parent
97eb4bd0ff
commit
07d19df80f
1 changed files with 25 additions and 22 deletions
|
|
@ -156,6 +156,7 @@ const
|
|||
type
|
||||
Thook_func* = proc (a2: cstring): cstring{.cdecl.}
|
||||
|
||||
when not defined(macosx):
|
||||
# If non-null, this contains the address of a function that the application
|
||||
# wants called before trying the standard tilde expansions. The function
|
||||
# is called with the text sans tilde, and returns a malloc()'ed string
|
||||
|
|
@ -229,6 +230,7 @@ type
|
|||
|
||||
# The current undo list for RL_LINE_BUFFER.
|
||||
|
||||
when not defined(macosx):
|
||||
var undo_list*{.importc: "rl_undo_list", dynlib: readlineDll.}: ptr TUNDO_LIST
|
||||
|
||||
# The data structure for mapping textual names to code addresses.
|
||||
|
|
@ -239,6 +241,7 @@ type
|
|||
function*: TCommandFunc
|
||||
|
||||
|
||||
when not defined(macosx):
|
||||
var funmap*{.importc: "funmap", dynlib: readlineDll.}: ptr ptr TFUNMAP
|
||||
|
||||
# ****************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue