guile-user
[Top][All Lists]
Advanced

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

A question about SCM_DEFINE & guile-snarf


From: Peter TB Brett
Subject: A question about SCM_DEFINE & guile-snarf
Date: Wed, 15 Jun 2011 23:06:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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()...

                             Peter

-- 
Peter Brett <address@hidden>
Remote Sensing Research Group
Surrey Space Centre

Attachment: pgprzqVhyBW6r.pgp
Description: PGP signature


reply via email to

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