r1588: Added array allocation to allocate-foreign-objects
[uffi.git] / src / strings.cl
index 95fdadf3289e1f0d3e3b83433d34a842d663c4d8..a32edde37bac370c3915c467bcca5751c9107398 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: strings.cl,v 1.6 2002/03/17 17:33:30 kevin Exp $
+;;;; $Id: strings.cl,v 1.7 2002/03/18 22:47:57 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -118,7 +118,9 @@ that CMU automatically converts strings from c-calls."
   )
 
 
-(defmacro allocate-foreign-string (size &key (unsigned t))
+(defmacro allocate-foreign-string (size &key (unsigned 
+                                             #+cmu nil
+                                             #+lispworks t))
   #+cmu
   (let ((array-def (gensym)))
     `(let ((,array-def (list 'alien:array 'c-call:char ,size)))