Re: A question about scm_guard()

2005-12-07 Thread Kevin Ryde
"Rients van Wijngaarden" <[EMAIL PROTECTED]> 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 t

A question about scm_guard()

2005-12-07 Thread Rients van Wijngaarden
Hi, I'm using guile in combination with C++ and I'm having some trouble with garbage collection. Now I'm trying to use guards, to circumvent GC. To make a guardian, I use 'scm_make_guardian([name of the guardian]);' and all is fine. The next step is to actually guard some objects, so I try to use