Ouch! It somehow didn't occur to me that removing that would cause an incompatibility...
As a workaround, you can access the variable as pd_this->pd_dspstate (after including m_imp.h) - but this isn't certain to be forward compatible. As a workaround for back compatibility I can just reinstate the old variable. But it won't work correctly in situations where multiple Pd instances are running in the same address space (as in libpd). I need to give this some though. Anyhow, yes, anyone else reading this having trouble loading externs in Pd 0.46? cheers Miller On Sun, Sep 28, 2014 at 05:19:08AM +0300, Pierre Guillot wrote: > Hi Miller, > > On Mac OsX (10.9.4), it seems that "canvas_dspstate" is no more recognized > but in m_pd.h we still have the value : > EXTERN int canvas_dspstate; (ligne 593) > I use the value inside my objects so I can't load my library anymore. I > surely can find a solution but perhaps I'm not the only one in this case. > Do you have any suggestion ? > > All the best, > > Pierre > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
