Hello,
why not using preprocessor expression like
#if PD_MINOR_VERSION < 47
... iemgui_all_loadcolors();
...
#endif
?
Le 25/09/2016 à 16:25, Antoine Rousseau a écrit :
Hi all
in order to try making a mknob that would be compatible with any Pd version, I still have a problem, with a function that didn't exist prior to 0.47 (iemgui_all_loadcolors). Would someone have an idea to "hide" the call of this function when linked by an older version of Pd?
Anyway I now have a version of mknob that is working with 0.47. I'll push it soon.
2016-09-24 5:16 GMT+02:00 Billy Stiltner <billy.stiltner@gmail.com mailto:billy.stiltner@gmail.com>:
while on the subject subject of knobs, would be great to hav option for integer snapping its easy to do with a few objects in a patch _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list <https://lists.puredata.info/listinfo/pd-list>
-- Antoine Rousseau http://www.metalu.net http://metalu.net __ http://www.metaluachahuter.com/ http://www.metaluachahuter.com/compagnies/al1-ant1/
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list