X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fstrings.lisp;h=2712a7355ce3ec389880367aa26d6910119f3759;hb=eb03e5da9d2a2918aff4004597205b36a32f7f6e;hp=02ae84bfa1758412f690918d6290633bba04ae1b;hpb=276c8f34b3070db313908a6d49a1ada16923fc21;p=uffi.git diff --git a/src/strings.lisp b/src/strings.lisp index 02ae84b..2712a73 100644 --- a/src/strings.lisp +++ b/src/strings.lisp @@ -7,7 +7,7 @@ ;;;; 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 ;;;; @@ -97,8 +97,8 @@ that LW/CMU automatically converts strings from c-calls." (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