diff options
Diffstat (limited to 'doc/ref/libguile-snarf.texi')
-rw-r--r-- | doc/ref/libguile-snarf.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ref/libguile-snarf.texi b/doc/ref/libguile-snarf.texi index c70727f2d..9b0e42fa3 100644 --- a/doc/ref/libguile-snarf.texi +++ b/doc/ref/libguile-snarf.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2012 +@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2012, 2014 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -61,10 +61,10 @@ implemented by the C function @code{clear_image}: #include <libguile.h> SCM_DEFINE (clear_image, "clear-image", 1, 0, 0, - (SCM image_smob), + (SCM image), "Clear the image.") @{ - /* C code to clear the image in @code{image_smob}... */ + /* C code to clear the image in @code{image}... */ @} void @@ -78,9 +78,9 @@ init_image_type () The @code{SCM_DEFINE} declaration says that the C function @code{clear_image} implements a Scheme function called @code{clear-image}, which takes one required argument (of type -@code{SCM} and named @code{image_smob}), no optional arguments, and no -rest argument. The string @code{"Clear the image."} provides a short -help text for the function, it is called a @dfn{docstring}. +@code{SCM} and named @code{image}), no optional arguments, and no rest +argument. The string @code{"Clear the image."} provides a short help +text for the function, it is called a @dfn{docstring}. @code{SCM_DEFINE} macro also defines a static array of characters initialized to the Scheme name of the function. In this case, |