OK, if you want to be sure, you can use something like gensym("\a") instead. if you want to be really sure, use the mongolian vowel seperator or the MD5 hash of your Pd executable.
Gesendet: Donnerstag, 08. November 2018 um 17:41 Uhr Von: "IOhannes m zmölnig" zmoelnig@iem.at An: pd-dev@lists.iem.at Betreff: Re: [PD-dev] simple external question (how to make an inlet acess a function)
On 11/8/18 5:25 PM, Christof Ressi wrote:
there's no way around class_addmethod
indeed, that's the way Pd works (or use proxy objects. shudder)
but you can use gensym("") if you want to prevent the user from invoking the code via a message. note that you can't do that for more than one inlet, obviously.
actually it's pretty easy (although probably unusual) to invoke such a method:
[symbol( | [$1 foo bar baz( |
gfmdsar IOhannes
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev