+cl-uffi (1.2.3-1) unstable; urgency=low
+
+ * More external format changes for lispworks (thanks Marc Battyani)
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Fri, 13 Dec 2002 15:46:23 -0700
+
+cl-uffi (1.2.2-1) unstable; urgency=low
+
+ * Add external format parameters to lispworks to avoid translating stringsl
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Fri, 13 Dec 2002 14:26:17 -0700
+
cl-uffi (1.2.1-1) unstable; urgency=low
* Add uncompression test
;;;; 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
;;;;
'((* . :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)
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: strings.lisp,v 1.4 2002/10/16 11:56:43 kevin Exp $
+;;;; $Id: strings.lisp,v 1.5 2002/12/13 22:49:09 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defmacro convert-to-foreign-string (obj)
#+lispworks
`(if (null ,obj)
- +null-cstring-pointer+
- (fli:convert-to-foreign-string ,obj))
+ +null-cstring-pointer+
+ (fli:convert-to-foreign-string ,obj :external-format '(:latin-1 :eol-style :lf)))
#+allegro
`(if (null ,obj)
0