From c60e6ed4b855cb451b45fbba7e19e714d20be466 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 8 Jan 2012 17:55:01 +0100 Subject: [PATCH] no need to warn people off of s_FOO generated by SCM_DEFINE * doc/ref/libguile-snarf.texi (Function Snarfing): The s_FOO binding isn't deprecated; no need to warn people to stop using it. Thanks to Peter Brett for the hint. --- doc/ref/libguile-snarf.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/ref/libguile-snarf.texi b/doc/ref/libguile-snarf.texi index b295270a1..c70727f2d 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 +@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2012 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -82,10 +82,10 @@ The @code{SCM_DEFINE} declaration says that the C function rest argument. The string @code{"Clear the image."} provides a short help text for the function, it is called a @dfn{docstring}. -For historical reasons, the @code{SCM_DEFINE} macro also defines a -static array of characters named @code{s_clear_image}, initialized to -the string "clear-image". You shouldn't use this array, but you might -need to be aware that it exists. +@code{SCM_DEFINE} macro also defines a static array of characters +initialized to the Scheme name of the function. In this case, +@code{s_clear_image} is set to the C string, "clear-image". You might +want to use this symbol when generating error messages. Assuming the text above lives in a file named @file{image-type.c}, you will need to execute the following command to prepare this file for