[PD-dev] PDINSTANCE: when and where?

Giulio Moro giuliomoro at yahoo.it
Tue Dec 19 21:20:41 CET 2017


Hi,
I just realized that there are a plethora of #ifdef PDINSTANCE in the Pd source code, but no actual #define PDINSTANCE or -DPDINSTANCE, and grepping the whole repo, I cannot find any place where it is defined.
So, is anyone defining PDINSTANCE in their projects? Is it safe to do so? Is it stable and tested?

In a libpd I am building, I was planning to put a #define PDINSTANCE line in m_pd.h, does it sound like a good idea? 

Thanks,
Giulio



More information about the Pd-dev mailing list