[PD] atom_getsymbol

Ricky Graham rickygrahammusic at gmail.com
Wed Jan 11 17:51:19 CET 2017


> On Jan 11, 2017, at 11:00 AM, pd-list-request at lists.iem.at wrote:
> 
> oh my!

Indeed. Ha!

> how about, looking up the definition of t_symbol in m_pd.h?
>    typedef struct _symbol
>    {
>      char *s_name;
>      struct _class **s_thing;
>      struct _symbol *s_next;
>    } t_symbol;
> 
> so the *only* proper way to access the string within a symbol is by
> dereferencing the s_name member.
> 
>    post("%s", s->s_name);

Makes perfect sense. Thank you, IO.

> 
> fgam,df
> IOhannes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170111/9ead4c42/attachment.html>


More information about the Pd-list mailing list