/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/version.h.in

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-03 00:07:32 UTC
  • Revision ID: csa@suren.me-20150503000732-u2g2insv7s1lwn55
Fix typos in versioning code

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#define PCILIB_VERSION_MICRO ${PCILIB_VERSION_MICRO}
7
7
 
8
8
#define PCILIB_MAKE_VERSION(major, minor, micro) ((major<<16)|(minor<<8)|(micro))
9
 
#define PCILIB_VERSION_GET_MAJOR(version) ((version>>16)&&0xFF)
10
 
#define PCILIB_VERSION_GET_MINOR(version) ((version>>8)&&0xFF)
11
 
#define PCILIB_VERSION_GET_MICRO(version) ((version)&&0xFF)
 
9
#define PCILIB_VERSION_GET_MAJOR(version) ((version>>16)&0xFF)
 
10
#define PCILIB_VERSION_GET_MINOR(version) ((version>>8)&0xFF)
 
11
#define PCILIB_VERSION_GET_MICRO(version) ((version)&0xFF)
12
12
 
13
13
#define PCILIB_VERSION PCILIB_MAKE_VERSION(PCILIB_VERSION_MAJOR, PCILIB_VERSION_MINOR, PCILIB_VERSION_MICRO)
14
14