[PD-dev] getting the classname symbol
Miller Puckette
mpuckett at imusic1.ucsd.edu
Wed May 28 18:17:25 CEST 2008
Hi HC,
there's a public function,
char *class_getname(t_class *c)
{
return (c->c_name->s_name);
}
in m_class.c.
cheers
Miller
On Wed, May 28, 2008 at 12:56:42PM +0200, Hans-Christoph Steiner wrote:
>
> Does know have example code that shows how to access (t_class)-
> >c_name->s_name?
> (that one doesn't seem to work for me).
>
> I want to get the name of the class from the class itself, or I
> suppose this would also be possible using t_object.
>
> .hc
>
> ------------------------------------------------------------------------
> ----
>
> "[W]e have invented the technology to eliminate scarcity, but we are
> deliberately throwing it away to benefit those who profit from
> scarcity." -John Gilmore
>
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
More information about the Pd-dev
mailing list