[Csnd-dev] API: version, subversion, patch

Steven Yi <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CANtcCs6u5ZnLy76hLNVhg_BdU=2_NuHfYsoh5cA=O+YHghu2Bg@mail.gmail.com>
Hi All,

One thing I thought though was we have the strange csoundGetVersion in the
API which returns version number multiplied by 1000. That's pretty odd. ;)
I was thinking we should have

csoundGetVersion()
csoundGetSubversion()
csoundGetPatch()

or

csoundGetVersionString()

with the latter returning ${version}.${subVersion}.${patch}

Or both?  The first set of functions could be useful for plugins or hosts
which might require that level of granularity (i.e., new feature was added
in 7.05, so my plugin requires at least that...). I think version string
would be useful for some apps for simple display of the version and it's
easily parseable, but I suppose easy enough to create by the developer
using the first set of functions.

Thoughts?

steven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.