On further inspection... if I change the uffi:def-type's in oracle-sql.lisp to

(uffi:def-type short-array (* :short))
(uffi:def-type int-array (* :int))
(uffi:def-type double-array (* :double))

and keep the type declarations in clsql-oracle:fetch-row, things also
work.  I think

(uffi:acquire-foreign-resource :double 10)

returns a pointer to 10 doubles, rather than an array of 10 doubles,
and sbcl thinks these are different things.

[EMAIL PROTECTED] ~ $ sbcl
[snip]
* (require :uffi)

NIL
* (uffi:allocate-foreign-object :double 10)

#<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X00634080 :TYPE (* DOUBLE-FLOAT)>

HTH HAND,

-- 
pdm



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to