[PD-dev] finding object-classes by name?

Mathieu Bouchard matju at artengine.ca
Mon Jun 8 17:06:52 CEST 2009


On Mon, 8 Jun 2009, IOhannes m zmoelnig wrote:

> is there a way to get the class of an objectclass of which i only know the 
> name?

In vanilla you have to instantiate the class, at your own risk, pray that 
it doesn't have mandatory arguments that you don't know about, and pray 
that it doesn't open any device, etc.

In desiredata, you have

   t_class *class_find (t_symbol *s);

which I added in february 2004, iirc.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec


More information about the Pd-dev mailing list