[PD] Full stop '.' in class namespace

Jonathan Wilkes jancsika at yahoo.com
Sun May 12 16:51:19 CEST 2019

 > On Sunday, May 12, 2019, 12:27:33 AM PDT, Christof Ressi <christof.ressi at gmx.at> wrote:
 >> So why aren't all (or at least nearly all) external developers simply using "setup" as the entry point? 

> yes, I've asked that myself and I think they just could. Have a look at the Max part of pd~: the setup function is simply called 'main'.

Here's the probable reason-- current practice is aimed at the maximally complicated library which has a makefile that allows it to be built both as a single binary *or* with one class per binary. In that case you must have uniquely-named setup functions per class that can be called from a central library setup.
Which I suppose would make more sense *if* the developer's choice of single- or multi-binary style was merely an implementation detail. But even with your patches it isn't-- with multi-binary style I can do [declare -lib foo/bar] whereas with the single-binary style that won't work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190512/6e6e61aa/attachment.html>

More information about the Pd-list mailing list