<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Em qui, 8 de nov de 2018 às 15:07, Christof Ressi <<a href="mailto:christof.ressi@gmx.at">christof.ressi@gmx.at</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br></blockquote><div><br></div><div>Right, I get the hack, thanks for the suggestion, seems like gensym("\f") is safe enough, I wouldn't really know how to do it, although seems Pd now deals with "\", but I really didn't get how so.</div><div><br></div><div>Anyway, seems like the only true way of working around this limitation is with "proxy", and, yeah, not worth it :) </div><div><br></div><div>cheers</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> Gesendet: Donnerstag, 08. November 2018 um 17:41 Uhr<br>
> Von: "IOhannes m zmölnig" <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>><br>
> An: <a href="mailto:pd-dev@lists.iem.at" target="_blank">pd-dev@lists.iem.at</a><br>
> Betreff: Re: [PD-dev] simple external question (how to make an inlet acess a function)<br>
><br>
> On 11/8/18 5:25 PM, Christof Ressi wrote:<br>
> > there's no way around class_addmethod<br>
> <br>
> indeed, that's the way Pd works (or use proxy objects. shudder)<br>
> <br>
> <br>
> > but you can use gensym("") if you want to prevent the user from invoking the code via a message.<br>
> > note that you can't do that for more than one inlet, obviously.<br>
> <br>
> actually it's pretty easy (although probably unusual) to invoke such a<br>
> method:<br>
> <br>
> [symbol(<br>
> |<br>
> [$1 foo bar baz(<br>
> |<br>
> <br>
> gfmdsar<br>
> IOhannes<br>
> <br>
> _______________________________________________<br>
> Pd-dev mailing list<br>
> <a href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a><br>
> <a href="https://lists.puredata.info/listinfo/pd-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-dev</a><br>
><br>
</blockquote></div></div>