From 928021c2b04a3403fda69c9aa4296125d92f7959 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Wed, 4 Mar 1992 16:47:12 +0000 Subject: [PATCH] Allow storing of (* char) in c-strings so that we can initialize c-string variables and slots. --- code/c-call.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/c-call.lisp b/code/c-call.lisp index b5d702705..e23875abb 100644 --- a/code/c-call.lisp +++ b/code/c-call.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/c-call.lisp,v 1.9 1992/02/21 17:57:59 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/c-call.lisp,v 1.10 1992/03/04 16:47:12 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -68,6 +68,7 @@ (declare (ignore type)) `(etypecase ,value (null (int-sap 0)) + ((alien (* char)) (alien-sap ,value)) (simple-base-string (vector-sap ,value)))) (defun %naturalize-c-string (sap) -- GitLab