[PD-dev] error missing in Pd 0.52

IOhannes m zmölnig zmoelnig at iem.at
Sat Apr 30 07:53:40 CEST 2022


Am 29. April 2022 16:27:04 MESZ schrieb Roman Haefeli <reduzent at gmail.com>:
> "pd_error(0, ...)" should be
>> equivalent and not break the external in old versions of Pd.
>
>So, if the pointer to the object (x) is not available, I can simply set
>it to 0 (or NULL)? 

Yes.
But please do take the opportunity and provide a valid pointer-to-the-object whenever possible, as this allows the user to track down,the source of the error.


> Forgive my noobish question, but Pd doesn't crash
>when I call that function this way?

No, it doesn't crash.


mfg.sfg.jfd
IOhannes




More information about the Pd-dev mailing list