projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3626: external format fixes
[uffi.git]
/
src
/
strings.lisp
diff --git
a/src/strings.lisp
b/src/strings.lisp
index 02ae84bfa1758412f690918d6290633bba04ae1b..2712a7355ce3ec389880367aa26d6910119f3759 100644
(file)
--- a/
src/strings.lisp
+++ b/
src/strings.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; 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
;;;;
;;;;
;;;; 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)
(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
#+allegro
`(if (null ,obj)
0