On 2017-12-19 21:20, Giulio Moro via Pd-dev wrote: > i, > 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?
no. because the beauty of libpd is, that it works without modification of the Pd sources. put "-DPDINSTANCE=1" into your build scripts instead. masdr IOhannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pd-dev mailing list [email protected] https://lists.puredata.info/listinfo/pd-dev
