[PD] Packing pointers into lists

Chris McCormick chris at mccormick.cx
Wed Mar 7 02:14:55 CET 2007


On Tue, Mar 06, 2007 at 10:00:37PM +0100, Frank Barknecht wrote:
> Hallo,
> Miller Puckette hat gesagt: // Miller Puckette wrote:
> 
> > 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)...
> 
> Ah, this seems to work. I still get "consistency check failed:
> gpointer_copy" messages however using Pd from current CVS. But it's
> nice to see this in action generally.

Shot in the dark; so does this mean we can store GEM pointers in
lists too? That would be neat because then you could make a non-zexy
abstraction-only [repeat] object.

Best,

Chris.

-------------------
chris at mccormick.cx
http://mccormick.cx




More information about the Pd-list mailing list