[PD-dev] simple external question (how to make an inlet acess a function)

IOhannes m zmölnig zmoelnig at iem.at
Thu Nov 8 17:41:52 CET 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20181108/515f82bc/attachment-0001.sig>


More information about the Pd-dev mailing list