Re: [PD] Packing pointers into lists

2007-03-12 Thread Chris McCormick
On Sun, Mar 11, 2007 at 10:24:23PM -0400, Alexandre Quessy wrote: BTW Chris, you can also use iem_anything to store and repeat *gem lists. Sure, but that defeats the purpose of making an external-free [repeat]. Best Chris. --- [EMAIL PROTECTED] http://mccormick.cx

Re: [PD] Packing pointers into lists

2007-03-11 Thread Alexandre Quessy
Hi all, gpointers are used (de facto) to store pointers by many externals and library. Would it be more stable to provide a standard data type for pointers like gemchains, #grids and such ? I doubt, but it would be more consistent. BTW Chris, you can also use iem_anything to store and repeat *gem

Re: [PD] Packing pointers into lists

2007-03-06 Thread Frank Barknecht
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

Re: [PD] Packing pointers into lists

2007-03-06 Thread Chris McCormick
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: [PD] Packing pointers into lists

2007-03-04 Thread Miller Puckette
Hmm, I think I should fix this... it adds an ugly layer of complication to the list object but I think it would be inconsistent simply to refuse to handle them. And yes, it's a bug that they currently just get passed through without making the necessary consistency checks. cheers Miller On Thu,

Re: [PD] Packing pointers into lists

2007-03-02 Thread pierre cage
Glad to know these can serve other data-structure enthusiasts ... Cheers, Pierre Cage 2007/3/2, Frank Barknecht [EMAIL PROTECTED]: Hallo, pierre cage hat gesagt: // pierre cage wrote: See attached abstractions for a desperate (but working) way to store and recall lists of pointers ...

[PD] Packing pointers into lists

2007-03-01 Thread Frank Barknecht
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

Re: [PD] Packing pointers into lists

2007-03-01 Thread pierre cage
Hi, See attached abstractions for a desperate (but working) way to store and recall lists of pointers ... Nevertheless, making this possible in a standard manner would be far more convincing ... Cheers Pierre Cage 2007/3/1, Frank Barknecht [EMAIL PROTECTED]: Hi, it would be cool if the