[PD] unique names for externals

Frank Barknecht barknech at ph-cip.uni-koeln.de
Sat Jul 28 20:12:14 CEST 2001


Miller Puckette hat gesagt: // Miller Puckette wrote:

> This is going to be a never-ending problem...!  suppose someone uses
> lib 1 and lib 2, and has a patch using "wack" from lib 2, and then the
> lib 1 author introduces a "wack" object.  The only way I can think of to
> protect against this problem is to somehow declare to Pd that, in the
> context of a given patch, "wack" should be taken from lib 2.  Hmm, then
> someone merges lib2 and lib 3, so the declaration then has to change...
> I have no idea how to deal with this in general..

Maybe one could introduce some kind of namespace like in C++. This could be
an object like [namespace gem], that changes the namespace of the surrounding 
patch.
-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 



More information about the Pd-list mailing list