the pd version is only known at runtime.yes that's the point.
I'm looking for a kind of dlsym() working for already loaded symbols.2016-09-25 20:02 GMT+02:00 Christof Ressi <christof.ressi@gmx.at>:Because in his case, the pd version is only known at runtime.
> Gesendet: Sonntag, 25. September 2016 um 19:21 Uhr
> Von: "patrice colet" <colet.patrice@free.fr>
> An: pd-list@lists.iem.at
> Betreff: Re: [PD] Tcl error for [knob] and [mknob]
>
> 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
>
> --
> Patrice Colet
> fr: 0632660357
>
>
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
--Antoine Rousseau