[PD] vline~, vsnapshot~, etc.

Mathieu Bouchard matju at artengine.ca
Wed Jul 9 18:41:39 CEST 2008


On Wed, 9 Jul 2008, Matt Barber wrote:

> If I'm not mistaken, [inlet] and [inlet~] are members of the same class 
> "vinlet," which has the two constructors vinlet_new and vinlet_newsig.

Yes, it is the case. This shows you that the actual class is an 
implementation detail, and what matters is the creator (constructor), 
because that is what is put in [objectmaker]'s method-table (which is 
actually a creator-table).

> Similarly but somewhat differently, all the expr/expr~/fexpr~ stuff is 
> collected into a single set of vexp*.c files.

This is actually 3 distinct classes, but it's also an implementation 
detail.

In another strange way, GridFlow C++ classes have *all* the same creator 
from the perspective of Pd, but this mostly just dispatches to a 
class-specific creator. Same goes for GEM and PyExt and most interfaces 
between the C Pd API and another language.

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


More information about the Pd-list mailing list