From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: stumped by scm_car/scm_cdr Date: Thu, 07 Oct 2004 23:55:33 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87is9mxkfe.fsf@zagadka.ping.de> References: <16724.44532.557784.986630@byrd.xs4all.nl> <87zn3e739g.fsf@zagadka.ping.de> <16725.64761.208412.328474@byrd.xs4all.nl> <16740.33606.743452.458667@byrd.xs4all.nl> <16741.37002.668216.221013@byrd.xs4all.nl> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097186174 3749 80.91.229.6 (7 Oct 2004 21:56:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2004 21:56:14 +0000 (UTC) Cc: jantien@xs4all.nl, guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 07 23:56:02 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CFgEz-0005Iz-00 for ; Thu, 07 Oct 2004 23:56:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFgLk-00019U-P5 for guile-devel@m.gmane.org; Thu, 07 Oct 2004 18:03:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFgLd-00019P-W6 for guile-devel@gnu.org; Thu, 07 Oct 2004 18:02:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFgLd-00019D-Jn for guile-devel@gnu.org; Thu, 07 Oct 2004 18:02:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFgLd-00019A-GF for guile-devel@gnu.org; Thu, 07 Oct 2004 18:02:53 -0400 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFgEa-0006uU-Kq for guile-devel@gnu.org; Thu, 07 Oct 2004 17:55:36 -0400 Original-Received: from [195.138.42.61] (helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 4.34) id 1CFgEY-00038L-Ix for guile-devel@gnu.org; Thu, 07 Oct 2004 23:55:35 +0200 Original-Received: (qmail 2097 invoked by uid 1000); 7 Oct 2004 21:55:33 -0000 Original-To: hanwen@xs4all.nl In-Reply-To: <16741.37002.668216.221013@byrd.xs4all.nl> (Han-Wen Nienhuys's message of "Thu, 7 Oct 2004 20:52:58 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4230 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4230 Han-Wen Nienhuys writes: > for the record, these fishy places were mostly in GC mark functions, > where I did > > smobbed_type * p = (smobbed_type*) SCM_CDR(scm) Ahh yes, this can not be replaced with scm_cdr. The Right Thing to use here is SCM_SMOB_DATA as in smobbed_type * p = (smobbed_type*) SCM_SMOB_DATA (scm); The manual should make this clear now. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel