Martin Peach wrote: > IOhannes m zmoelnig wrote: > >> how will your [str] object handle an incoming gemlist? > > If it's passed as a "string", a pointer to a block of bytes with a definite > length, then it will process it the same way as any other block of bytes, > perhaps not usefully.
right. > >> how will a gem-object using your blobs handle an incoming "string"? >> > > It would need to verify that the incoming "string" data was of the right > kind. Possibly the first few bytes would be some kind of selector. The data right. this is the problem i want to address. pd already has a typed atoms, why would one want to add atoms of "unknown" type and then implement an extra type-check in each and every object/library that introduces a new type. what happens if 2 different types chose the same magic bytes to determine whether the data is "correct"? i would like to have a dynamic assignment of "atom-types" to user-defined types. mfg.asdr IOhannes _______________________________________________ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev