Hi All, I'm working on ftree now and am putting it in fgens.c and adding a struct to ftgen.h, and plan to add it to entry1.c. or entry2.c, wherever ftgen is at. The reason I'm doing this within csound and not as a plugin is that I haven't found any API functions which can do this. I'm using the code from hfgens: if (ff->fno > csound->maxfnum || (ftp = csound->flist[ff->fno]) == NULL) { fterror(csound, ff, Str("ftable does not exist")); return -1; } csound->flist[ff->fno] = NULL; mfree(csound, (void*) ftp); (with the ff->fno coming from *p instead) to free the table. Does this all sound alright or is there an API way to do this? (And if not, should there be?) Thanks, steven ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net