Skip to content

Commit

Permalink
cffi-manual: fix secondary values in examples of CONVERT-{TO,FROM}-FO…
Browse files Browse the repository at this point in the history
…REIGN.
  • Loading branch information
luismbo committed Sep 10, 2011
1 parent ea9cd87 commit cfb7330
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/cffi-manual.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit cfb7330

Please sign in to comment.