bugfix: readline wrapper; bugfix: evaluation of type conversions

This commit is contained in:
Araq 2011-02-14 21:20:35 +01:00
commit 5c7e3efbc3
10 changed files with 57 additions and 40 deletions

View file

@ -21,13 +21,14 @@
{.deadCodeElim: on.}
when defined(windows):
const
readlineDll = "readline.dll"
readlineDll* = "readline.dll"
elif defined(macosx):
# Mac OS X ships with 'libedit'
const
readlineDll = "libreadline.dynlib"
readlineDll* = "libedit(.2|.1|).dylib"
else:
const
readlineDll = "libreadline.so.6(|.0)"
readlineDll* = "libreadline.so.6(|.0)"
## mangle "'TCommandFunc'" TCommandFunc
## mangle TvcpFunc TvcpFunc