r9575: fix WITH-FOREIGN-OBJECT macro for cmu
[uffi.git] / src / primitives.lisp
index 17eb941160266abcab9d1276c2054b7ba051e9a8..3eb0761f522e8a0495473d5397833f20e954b222 100644 (file)
@@ -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)