Lisp HUG Maillist Archive

cannot be converted to foreign type

This following code does not work but it used to, is this a bug?

(let ((v (make-array 4 :element-type '(unsigned-byte 8))))
  (fli:with-dynamic-lisp-array-pointer (ptr v)
    (format t "~A~%" ptr)))

Error: #(191 241 105 32) cannot be converted to foreign type
"Statically allocated (LISP-ARRAY NIL)".

-- 
Ryan Hope, M.S.
CogWorks Lab
Department of Cognitive Science
Rensselaer Polytechnic Institute


Updated at: 2020-12-10 08:38 UTC