imageworks/Field3D

Request: version macros in a public header

Closed this issue · 2 comments

It would be really helpful to have a public header file that defines FIELD3D_VERSION_MAJOR and FIELD3D_VERSION_MINOR so that programs using Field3D can check it and conditionally compile depending on the version number, for example, to deal with Field3D API changes gracefully.

sosh commented

There is "ns.h" file that defines FIELD3D_MAJOR_VER, FIELD3D_MINOR_VER, and
FIELD3D_MICRO_VER for Field3D. Would that work for you?

-Sosh

On Wed, Apr 25, 2012 at 5:45 PM, Larry Gritz <
reply@reply.github.com

wrote:

It would be really helpful to have a public header file that defines
FIELD3D_VERSION_MAJOR and FIELD3D_VERSION_MINOR so that programs using
Field3D can check it and conditionally compile depending on the version
number, for example, to deal with Field3D API changes gracefully.


Reply to this email directly or view it on GitHub:
#42

Oh, yes, so sorry. I missed that somehow. Never mind.