[PD-dev] name collisions

Tom Schouten doelie at zzz.kotnet.org
Sat Jan 18 13:08:41 CET 2003


> > quick q: what happens if there is a name clash between two externals from
> > different libs (or the same lib) ?
>
> Is this a theoretical or practical question ?

practical.. i agree its better to avoid it, but i was wondering if the 
behaviour is predictable when it happens. if you have i.e.

class1 = class_new(gensym("object"), ...
class2 = class_new(gensym("object"), ...

which class gets instantiated if you create [object] in pd?

first, second or undefined?





More information about the Pd-dev mailing list