unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: guile-user@gnu.org
Subject: Re: A question about scm_guard()
Date: Thu, 08 Dec 2005 11:56:22 +1100	[thread overview]
Message-ID: <871x0oflu1.fsf@zip.com.au> (raw)
In-Reply-To: <40282.131.211.52.198.1133883969.squirrel@webmail.students.phil.uu.nl> (Rients van Wijngaarden's message of "Tue, 6 Dec 2005 16:46:09 +0100 (CET)")

"Rients van Wijngaarden" <Rients.vanWijngaarden@phil.uu.nl> writes:
>
> so obviously, scm_guard needs a third argument of type int, but my
> question is:
> What is this int?

Hmm.  A flag saying whether you want an error thrown if the object is
already guarded.

Apparently scm_guard is going to be deprecated in the next release, in
favour of

	scm_call_1 (GUARDIAN, OBJECT)

the same as would be done from scheme code.  I think that would work
in 1.6 too (without trying it :-).


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


      reply	other threads:[~2005-12-08  0:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 15:46 A question about scm_guard() Rients van Wijngaarden
2005-12-08  0:56 ` Kevin Ryde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871x0oflu1.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).