[cffi-devel] uffi:make-pointer
Yaroslav Kavenchuk
kavenchuk at jenty.by
Fri Nov 4 11:42:52 UTC 2005
Luis Oliveira wrote:
> On 4/nov/2005, at 11:29, Yaroslav Kavenchuk wrote:
>
>>*** - FUNCALL: CFFI-UFFI-COMPAT:MAKE-POINTER is a macro, not a
>
> function
>
>>The following restarts are available:
>>...
>
>
> That's odd. UFFI's make-pointer is a macro. What code is trying to
> funcall make-pointer?
>
Only here:
odbc-api.lisp:
(defun %set-attr-odbc-version (henv version)
(with-error-handling (:henv henv)
(SQLSetEnvAttr henv $SQL_ATTR_ODBC_VERSION
(make-pointer version :void) 0)))
(def-function "SQLSetEnvAttr"
((henv sql-handle) ; HENV henv
(attr :int)
(*value :pointer-void)
(szLength :int))
:module "odbc"
:returning :short)
Thanks!
--
WBR, Yaroslav Kavenchuk.
More information about the cffi-devel
mailing list