From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user Subject: Re: A question about scm_guard() Date: Thu, 08 Dec 2005 11:56:22 +1100 Message-ID: <871x0oflu1.fsf@zip.com.au> References: <40282.131.211.52.198.1133883969.squirrel@webmail.students.phil.uu.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134005008 1925 80.91.229.2 (8 Dec 2005 01:23:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2005 01:23:28 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 08 02:23:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkATz-0001XM-CZ for guile-user@m.gmane.org; Thu, 08 Dec 2005 02:22:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkAUF-0003M5-KL for guile-user@m.gmane.org; Wed, 07 Dec 2005 20:22:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EkA5j-0001Ii-EC for guile-user@gnu.org; Wed, 07 Dec 2005 19:56:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EkA5g-0001Hf-Im for guile-user@gnu.org; Wed, 07 Dec 2005 19:56:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkA5f-0001HO-Ha for guile-user@gnu.org; Wed, 07 Dec 2005 19:56:55 -0500 Original-Received: from [61.8.0.115] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EkA6b-0002aU-0R for guile-user@gnu.org; Wed, 07 Dec 2005 19:57:53 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jB80uXU9025559; Thu, 8 Dec 2005 11:56:33 +1100 Original-Received: from localhost (ppp2468.dyn.pacific.net.au [61.8.36.104]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jB80uWdi022314; Thu, 8 Dec 2005 11:56:32 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1EkA58-0002fm-00; Thu, 08 Dec 2005 11:56:22 +1100 Original-To: "Rients van Wijngaarden" 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)") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4982 Archived-At: "Rients van Wijngaarden" 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