hi,
I'm kind of stuck trying to handle several data types in right inlets ? any pointers to sourcecode ?
thx,
x
hi,
well, passing any message to right inlet is possible, but you have to precede this message with a selector you declare in inlet_new() (third argument). Have a look at z_matrix.c from zexy, for example.
Anyway, grep for inlet_new, maybe you'll find something more...
Krzysztof
CK wrote: ...
I'm kind of stuck trying to handle several data types in right inlets ? any pointers to sourcecode ?
hi again,
sorry, I should have checked m_obj.c first. You actually _can_ pass null as a third argument of inlet_new(), and it seems like inlet_anything() handles this ok. Never used it, but this is how canvas inlets (regular, not signal) work.
Krzysztof
Krzysztof Czaja wrote: ...
well, passing any message to right inlet is possible, but you have to precede this message with a selector you declare in inlet_new() (third argument). Have a look at z_matrix.c from zexy, for example.
...