[PD-dev] pd_error in constructors (Was: Re: dump OSC bugs?)

Claude Heiland-Allen claudiusmaximus at goto10.org
Sat Aug 23 14:25:25 CEST 2008


Claude Heiland-Allen wrote:
> can you make it use pd_error (or whatever it's called) so you can find 
> the object more easily?  would that even work in the constructor?

I was curious, so I tested it..

Calling pd_error on the newly constructed object in the newmethod does 
work (in that find last error finds it), which is nice.


Claude
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errorconstructor.c
Type: text/x-csrc
Size: 534 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20080823/7a8a8739/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: errorconstructor-help.pd
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20080823/7a8a8739/attachment.txt>


More information about the Pd-dev mailing list