r2055: updated external format for lw
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 17 May 2002 16:51:08 +0000 (16:51 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 17 May 2002 16:51:08 +0000 (16:51 +0000)
src/primitives.cl

index 009c1fcf8b974ebbf37b025edea42041154dc764..5ec2cd34dc31e4e8da748979eca43cd513f1a19f 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: primitives.cl,v 1.17 2002/04/28 06:03:13 kevin Exp $
+;;;; $Id: primitives.cl,v 1.18 2002/05/17 16:51:08 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -103,8 +103,9 @@ supports takes advantage of this optimization."
     '((* . :pointer) (:void . :void) 
       (:short . :short)
       (:pointer-void . (:pointer :void))
-      (:cstring . (:reference-pass :ef-mb-string :allow-null t))
-      (:cstring-returning . (:reference :ef-mb-string :allow-null t))
+      (:cstring . (:reference-pass (:ef-mb-string :external-format :latin-1)
+                                  :allow-null t))
+      (:cstring-returning . (:reference (:ef-mb-string :external-format :latin-1) :allow-null t))
       (:char . :char)
       (:byte :byte)
       (:unsigned-char . (:unsigned :char))