[cffi-devel] CFFI and CLSQL
Ricardo Boccato
boccato at gmail.com
Fri Apr 28 02:14:05 UTC 2006
Hi,
I am trying to use CLSQL with CFFI and I bumped into an error while
trying to connect to an Oracle 9i database.
I am using clisp but the same error ocurred with allegro 7 (trial).
Basically, issuing the command:
(asdf:oos 'asdf:load-op :clsql-oracle)
yields this at the debugger:
APPLY: too few arguments given to #<compiled-function
#:|150 152 (cffi:define-foreign-type uffi-char (base-type) ...)-10-1-1|>
[Condition of type system::simple-program-error]
I found out that making the following changes to the code seems to
solve the problem...
computador:~/lib/cffi$ darcs diff
diff -rN old-cffi/uffi-compat/uffi-compat.lisp
new-cffi/uffi-compat/uffi-compat.lisp
112,113c112,113
< (:char '(uffi-char :char))
< (:unsigned-char '(uffi-char :unsigned-char))
---
> (:char :char)
> (:unsigned-char :unsigned-char)
...but since I am new to lisp (and to cffi...and to clsql...;-) I
really have no idea of what I am doing. :-)
Thanks very much.
[]s,
Ricardo Boccato Alves.
More information about the cffi-devel
mailing list