Open shakfu opened 2 years ago
pd_error()
takes a handle to the object itself as a first argument, so the user can simply click on the error message to find the object that emitted the message.
so it's much preferred to provide an actual handle (e.g. pd_error(x, ...)
) rather than just NULL
.
@shakfu it might also be easier to just create a PR
oh, and actually you should direct the PR to https://github.com/ericlyon/pd-fftease which is where fftease is currently developed.
Pd 0.52 removed the
error()
function (unfortunately, without a deprecation notice), but it can easily be replaced withpd_error()
.To fix the code in the repo you can run something like this in the project root:
patch.txt
A patch with the changes is attached.