[PD] make first inlet a proxy inlet

Jonathan Wilkes jancsika at yahoo.com
Mon Apr 21 23:02:15 CEST 2014

I think I answered my own question.  It looks like I can use CLASS_NOINLET, then create an inlet explicitly inside the *_new function for my classes.

On Monday, April 21, 2014 4:49 PM, Jonathan Wilkes <jancsika at yahoo.com> wrote:
Let's say I have foo_class that creates object [foo] and bar_class which creates object [bar].

I want the inlet of both to forward incoming messages to an object of type blah_class which serves as a proxy inlet.  (The struct of foo and bar would store a pointer to it and control creation and freeing of it.)

Is there a way to specify this inside foo_new and bar_new, or is the easiest way to just use a class_addanything and forward messages that way?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140421/803892d7/attachment-0001.htm>

More information about the Pd-list mailing list