X-Git-Url: http://git.kpe.io/?p=uffi.git;a=blobdiff_plain;f=src%2Fstrings.lisp;h=e54a94095c8aa0d284f93cb509e03c48c22aad2d;hp=1e90118c174e8a10f25dda0f06224d533a7c1ff3;hb=44a2c6231b0a658e28705d5834549db9e0f1159f;hpb=87acde9ae931ba8ac7bd486809f6dab3b2448790 diff --git a/src/strings.lisp b/src/strings.lisp index 1e90118..e54a940 100644 --- a/src/strings.lisp +++ b/src/strings.lisp @@ -109,11 +109,11 @@ that LW/CMU automatically converts strings from c-calls." #+lispworks (let ((stored (gensym))) `(let ((,stored ,obj)) - `(if (null ,stored) - +null-cstring-pointer+ - (fli:convert-to-foreign-string - ,stored - :external-format '(:latin-1 :eol-style :lf))))) + (if (null ,stored) + +null-cstring-pointer+ + (fli:convert-to-foreign-string + ,stored + :external-format '(:latin-1 :eol-style :lf))))) #+allegro (let ((stored (gensym))) `(let ((,stored ,obj))