[PD-dev] "library" class names loading depth "1000" reached

Jamie Bullock jamie at jamiebullock.com
Tue Apr 28 13:05:18 CEST 2015

On 28 April 2015 at 09:56:45, IOhannes m zmoelnig (zmoelnig at iem.at) wrote:

On 2015-04-28 10:27, Jamie Bullock wrote:  
> Looking at the source code for these externals (and I guess this is a wider design pattern?), I notice that class constructor is bound to a symbol of the form “<folder>/<object>”, e.g. class_new(gensym("iemlib/soundfile_info”) …  

not in my book¹.  
which sources are you using (for this specific example)?  

Oops… this is embarrassing...

It seems that someone changed the symbol in *our* repository to “fix” the externals to work with libPd. https://github.com/BirminghamConservatoire/IntegraLive/commit/e5f8026f5ebf45aaef06919f0d9ae3f719e8a7c3#diff-ff72e15efdd3bacca6ef621754640cfd

…which of course broke our Module creator, which uses Pd.

But of course the proper fix is to use [declare -stdpath] in the patch so just the object name can be used everywhere.

Sorry for the noise.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20150428/2481487d/attachment.html>

More information about the Pd-dev mailing list