Re: [PD-dev] error handlers

2007-10-05 Thread Mathieu Bouchard
On Fri, 21 Sep 2007, Ed Kelly wrote: I've just been looking through source code from cvs, picking at random, and looking for an example of the void error (char *fmt, ...) from the externals howto. I can't find one anywhere! A lot of externals use post() instead of error() or pd_error(), but

[PD-dev] error handlers

2007-09-21 Thread Ed Kelly
Hi list, I've just been looking through source code from cvs, picking at random, and looking for an example of the void error (char *fmt, ...) from the externals howto. I can't find one anywhere! Am I stating the obvious here? It's just that this means that PD patches made using anything

Re: [PD-dev] error handlers

2007-09-21 Thread David Plans Casal
Hey Ed, Are you using GDB at all? David On 21 Sep 2007, at 11:06, Ed Kelly wrote: Hi list, I've just been looking through source code from cvs, picking at random, and looking for an example of the void error (char *fmt, ...) from the externals howto. I can't find one anywhere! Am I

Re: [PD-dev] error handlers

2007-09-21 Thread IOhannes m zmoelnig
Ed Kelly wrote: I think, IOhannes, if you could explain to me precisely how to use this function, I would be willing to (slowly) go through and make some changes. This is a massive hole in PD! i think you are mistaken on the powers of error(): this function is really just a version of