summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-01-03 23:31:30 +0100
committerLudovic Courtès <ludo@gnu.org>2012-01-03 23:31:30 +0100
commitaed9483ba1c22d5de5f3ec4b5b915e2095e233be (patch)
treebb82a465e69f84920661a35fce8fd8f909abe813
parent2f50d0a89758894a39bcec5a94c658d63d20701b (diff)
downloadguile-aed9483ba1c22d5de5f3ec4b5b915e2095e233be.tar.gz
doc: Fix typo in `define-wrapped-pointer-type' example.
* doc/ref/api-foreign.texi (Void Pointers and Byte Access): Fix typo in `define-wrapped-pointer-type' example.
-rw-r--r--doc/ref/api-foreign.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi
index 2dd691675..82925e68d 100644
--- a/doc/ref/api-foreign.texi
+++ b/doc/ref/api-foreign.texi
@@ -1,7 +1,7 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2007, 2008,
-@c 2009, 2010, 2011 Free Software Foundation, Inc.
+@c 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node Foreign Function Interface
@@ -680,7 +680,7 @@ pointers to manipulate them. We could write:
(lambda (b p)
(format p "#<bottle of ~a ~x>"
(bottle-contents b)
- (pointer-address (unwrap-foo b)))))
+ (pointer-address (unwrap-bottle b)))))
(define grab-bottle
;; Wrapper for `bottle_t *grab (void)'.