[Top][All Lists]

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

Re: A question about scm_guard()

From: Kevin Ryde
Subject: Re: A question about scm_guard()
Date: Thu, 08 Dec 2005 11:56:22 +1100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

"Rients van Wijngaarden" <address@hidden> 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 :-).

reply via email to

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