From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Clinton Ebadi Newsgroups: gmane.lisp.guile.user Subject: GOOPS %modify-[instance|class] Date: Wed, 8 Jan 2003 21:51:59 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <200301082151.59431.clinton@unknownlamer.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1042080993 19022 80.91.224.249 (9 Jan 2003 02:56:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2003 02:56:33 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WSrw-0004wg-00 for ; Thu, 09 Jan 2003 03:56:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WSpx-0007QP-08 for guile-user@m.gmane.org; Wed, 08 Jan 2003 21:54:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WSmD-0005fh-00 for guile-user@gnu.org; Wed, 08 Jan 2003 21:50:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WSkE-0003p7-00 for guile-user@gnu.org; Wed, 08 Jan 2003 21:48:38 -0500 Original-Received: from pop015pub.verizon.net ([206.46.170.172] helo=pop015.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WSk2-0003cZ-00 for guile-user@gnu.org; Wed, 08 Jan 2003 21:48:22 -0500 Original-Received: from vsynth ([151.196.174.90]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030109024820.MYGJ21001.pop015.verizon.net@vsynth> for ; Wed, 8 Jan 2003 20:48:20 -0600 Original-Received: from clinton by vsynth with local (Exim 3.35 #1 (Debian)) id 18WSnX-0007Jd-00 for ; Wed, 08 Jan 2003 21:51:59 -0500 Original-To: guile-user@gnu.org User-Agent: KMail/1.4.2 X-Authentication-Info: Submitted using SMTP AUTH LOGIN at pop015.verizon.net from [151.196.174.90] at Wed, 8 Jan 2003 20:48:20 -0600 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1512 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1512 I think %modify-instance and -class should be public. I specialized change-class and change-object-class (to the same thing, ju= st to=20 be safe because the manual says either one may be called but not both). I= =20 seem to have a problem: when I return the updated class, all my pointers = to=20 the old class are invalidated! And then it seems that GOOPS continues in = an=20 infinite loops updated the same objects over and over again. goops.c is using SCM_CAR and SCM_CDR to write to the cell of memory itsel= f.=20 Maybe I could use the low level object struct and modify it somehow? --=20 http://unknownlamer.org The root of unspoken fear The root grows deep in my heart A dark cold sound tears at my life _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user