[PD-dev] External development: preventing several copies of external
Alexandre Clément
alexandre.r.clement at gmail.com
Sun Jun 14 21:36:12 CEST 2015
Hello all!
I'm creating an external which should only allow one copy loaded at the
same time.
Is there a way to check this upon creation?
I tried going the same approach as checking if a receiver exists before
attempting to send, but it doesn't seem to work.
if (gensym("class_name")->s_thing) {
post("Exists!");
return false;
}
Any help is greatly appreciated.
Best regards,
Alex Clément
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20150614/7c681937/attachment.html>
More information about the Pd-dev
mailing list