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
> [email protected]
> http://lists.puredata.info/listinfo/pd-dev

_______________________________________________
PD-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to