hi. i am currently trying to make readanysf~ run on my system (rumours are, that there is a memory leak somewhere)
i noticed that most messages sent to the last outlet throw a "consistency check failed: atom_string" error.
this is due to a misconfiguration in the message-generation: several lines which read ToOutAnything (2, GetSymbol (lst[0]), 2, lst + 1);
should rather read ToOutAnything (2, GetSymbol (lst[0]), 1, lst + 1);
(lst is a 2-element array of type t_atom; the first element is used as the selector, so there is 1 atom left - and not 2)
also readanysf~ uses the deprecated flext-macro FLEXT_NOGLOBALNEW instead of FLEXT_USE_CMEM (being no flext man i don't really know whether the latter is a replacement for the former - though the errors thrown by flext suggest this)
so my question is whether readanysf~ is maintained in the sf-cvs and whether it is ok if i submit the patches.
mfg.asdr IOhannes
also readanysf~ uses the deprecated flext-macro FLEXT_NOGLOBALNEW instead of FLEXT_USE_CMEM (being no flext man i don't really know whether the latter is a replacement for the former - though the errors thrown by flext suggest this)
yes, it is a replacement, although with a slightly different meaning. By using FLEXT_USE_CMEM the PD getbytes and freebytes functions are not used with flext memory allocation. The C/C++ standard library routines are used instead.
greetings, Thomas