r3626: external format fixes
[uffi.git] / src / primitives.lisp
index 8ba2ba67e02217f17e417f94faef0c43f4662987..06dd03058dbf800194cc61084781a60d6e290924 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: primitives.lisp,v 1.6 2002/11/23 18:01:57 kevin Exp $
+;;;; $Id: primitives.lisp,v 1.7 2002/12/13 22:49:09 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -179,9 +179,12 @@ supports takes advantage of this optimization."
     '((* . :pointer) (:void . :void) 
       (:short . :short)
       (:pointer-void . (:pointer :void))
-      (: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))
+      (:cstring . (:reference-pass (:ef-mb-string :external-format
+                                                 (:latin-1 :eol-style :lf)
+                                                 :allow-null t))
+      (:cstring-returning . (:reference (:ef-mb-string :external-format
+                                                      (:latin-1 :eol-style :lf)
+                                                      :allow-null t))
       (:byte . :byte)
       (:unsigned-byte . (:unsigned :byte))
       (:char . :char)