[PD-dev] [ pure-data-Patches-1990599 ] allow recursive calls of new_anything()

SourceForge.net noreply at sourceforge.net
Fri Jul 30 04:47:46 CEST 2010


Patches item #1990599, was opened at 2008-06-11 04:36
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1990599&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: allow recursive calls of new_anything()

Initial Comment:
currently there is a protection mechanism against recursively calling "new_anything()".

unfortunately this mechanism is the main obstacle that prevents abstractions to be loaded via a "loader" mechanism (and instead requires special case handling)

the attached patch will allow some recursive calling of  new_anything() (but still has a protection against stack overflow, at a depth of MAXOBJDEPTH=1000)


----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-07-29 22:47

Message:
git commit 5a58ca2b41d9cf46a91c8897754b196582c7ca89

----------------------------------------------------------------------

Comment By: Miller Puckette (millerpuckette)
Date: 2010-07-29 00:00

Message:
I don't remember what the problem was that required stopping recursion --
perhaps it's gone now anyway.  But the check that's in the patch will keep
things OK anyhow I think.

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-03-15 20:50

Message:
FYI: this was included in the Pd-extended branch in 0.40:

http://lists.puredata.info/pipermail/pd-cvs/2008-06/014617.html

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1990599&group_id=55736



More information about the Pd-dev mailing list