Permalink
Browse files

cffi-manual: fix secondary values in examples of CONVERT-{TO,FROM}-FO…

…REIGN.
  • Loading branch information...
1 parent ea9cd87 commit cfb73306c6580505c4333ea26917600ca30db8ad @luismbo luismbo committed Sep 10, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 doc/cffi-manual.texinfo
View
@@ -2324,7 +2324,7 @@ documentation.
@lisp
CFFI-USER> (convert-to-foreign "a boat" :string)
@result{} #<FOREIGN-ADDRESS #x097ACDC0>
-@result{} (T)
+@result{} T
CFFI-USER> (convert-from-foreign * :string)
@result{} "a boat"
@end lisp
@@ -2382,10 +2382,10 @@ documentation.
@lisp
CFFI-USER> (convert-to-foreign t :boolean)
@result{} 1
-@result{} (NIL)
+@result{} NIL
CFFI-USER> (convert-to-foreign "hello, world" :string)
@result{} #<FOREIGN-ADDRESS #x097C5F80>
-@result{} (T)
+@result{} T
CFFI-USER> (code-char (mem-aref * :char 5))
@result{} #\,
@end lisp
@@ -3444,8 +3444,8 @@ documentation.
@lisp
CFFI-USER> (convert-to-foreign "a boat" :string)
@result{} #<FOREIGN-ADDRESS #x097ACDC0>
-@result{} (T)
-CFFI-USER> (free-converted-object * :string '(t))
+@result{} T
+CFFI-USER> (free-converted-object * :string t)
@result{} NIL
@end lisp

0 comments on commit cfb7330

Please sign in to comment.