[PD] Packing pointers into lists

Miller Puckette mpuckett at imusic1.ucsd.edu
Tue Mar 6 19:21:19 CET 2007


OK... looks like [list append] does deal with pointers almost correctly
(I forgot I had done that), but there is a bug when you send a new
list to its inlet re-entrantly.  I'll fix this for 0.41 but in the
meantime you can work around it by forcing a copy of the outgoing
message (send a list to "t b l" connected to the two inlets of "list append"
to make a copy of the list)...

cheers
Miller

On Thu, Mar 01, 2007 at 07:50:48PM +0100, Frank Barknecht wrote:
> Hi,
> 
> it would be cool if the various operations of list-abs could also be
> made to work with pointers. However one important construct doesn't
> work and sometimes even lets Pd crash): extending a list with a
> pointer element using [list append]X[pointer]
> 
> Attached patch illustrates what I mean: The example on the bottom
> right doesn't work correctly. I wonder: is this even supposed to work? 
> 
> Ciao
> -- 
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__


> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list