guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about SCM_DEFINE & guile-snarf


From: Andy Wingo
Subject: Re: A question about SCM_DEFINE & guile-snarf
Date: Sun, 08 Jan 2012 17:56:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Thu 16 Jun 2011 00:06, Peter TB Brett <address@hidden> writes:

> The Guile manual says:
>
>> For historical reasons, the `SCM_DEFINE' macro also defines a static
>> array of characters named `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.
>
> Why is using this discouraged?  libguile itself does!
>
> And it's very convenient when raising errors in the function, or marking
> the function for export using scm_c_export()...

Indeed, this note was in error.  I have fixed it now; thanks for the
report!

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]