X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fprimitives.lisp;h=3eb0761f522e8a0495473d5397833f20e954b222;hb=b8e666e0f483efdec2f13eb5e1cdd0b06f700191;hp=17eb941160266abcab9d1276c2054b7ba051e9a8;hpb=010634515de14538c78c53d26c99d5de0f8d3593;p=uffi.git diff --git a/src/primitives.lisp b/src/primitives.lisp index 17eb941..3eb0761 100644 --- a/src/primitives.lisp +++ b/src/primitives.lisp @@ -277,15 +277,6 @@ supports takes advantage of this optimization." (let ((result (%convert-from-uffi-type type context))) (cond ((atom result) result) - ;; Arrays without size are really pointers to type on SBCL/CMUCL - #+sbcl - ((and (consp type) (= 2 (length type)) (eq :array (car type))) - (setf (car result) 'sb-alien:*) - result) - #+cmu - ((and (consp type) (= 2 (length type)) (eq :array (car type))) - (setf (car result) 'alien:*) - result) #+openmcl ((eq (car result) :address) (if (eq context :struct) @@ -298,8 +289,8 @@ supports takes advantage of this optimization." (eval-when (:compile-toplevel :load-toplevel :execute) (when (char= #\a (schar (symbol-name '#:a) 0)) (pushnew :uffi-lowercase-reader *features*)) - (when (not (string-equal (symbol-name '#:a) - (symbol-name '#:A))) + (when (not (string= (symbol-name '#:a) + (symbol-name '#:A))) (pushnew :uffi-case-sensitive *features*))) (defun make-lisp-name (name)