[PD-dev] need to find symbol of current patch (from code)
Mike Wozniewski
mike at ozmediasolutions.com
Mon Sep 5 21:40:05 CEST 2005
Okay, so I've found the following function:
t_canvas *z = canvas_getcurrent();
Now does anyone know how to get the symbol name for that canvas? I need
something like z->s_thing so that I can send a message to the canvas,
but t_canvas has no s_thing member.
Any help is greatly appreciated.
-Mike
On Mon, 2005-05-09 at 00:19 -0400, Mike Wozniewski wrote:
> Hi all,
>
> I'm trying to send a typedmess() from within the C-code of an external
> to the patch that it currently resides on. But in order to do so, I need
> the symbol name of the patch.
>
> So the question:
>
> >From within a method call of an external, can I somehow find the pointer
> to the symbol name of the current patcher?
>
> Thanks to anyone who can help!
> -Mike Wozniewski
More information about the Pd-dev
mailing list