(defun c-string-needs-conversion-p (type)
#+sb-xc-host
+ (declare (ignore type))
+ #+sb-xc-host
t
#-sb-xc-host
(let ((external-format (sb!impl::get-external-format
(define-alien-type-method (c-string :deport-gen) (type value)
(declare (ignore type))
+ ;; This SAP taking is safe as DEPORT callers pin the VALUE when
+ ;; necessary.
`(etypecase ,value
(null (int-sap 0))
((alien (* char)) (alien-sap ,value))