/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool
253 by Suren A. Chilingaryan
Include version information in all API descriptions
1
#ifndef _PCILIB_VERSION_H
2
#define _PCILIB_VERSION_H
3
4
#define PCILIB_VERSION_MAJOR ${PCILIB_VERSION_MAJOR}
5
#define PCILIB_VERSION_MINOR ${PCILIB_VERSION_MINOR}
6
#define PCILIB_VERSION_MICRO ${PCILIB_VERSION_MICRO}
7
8
#define PCILIB_MAKE_VERSION(major, minor, micro) ((major<<16)|(minor<<8)|(micro))
256 by Suren A. Chilingaryan
Fix typos in versioning code
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)
253 by Suren A. Chilingaryan
Include version information in all API descriptions
12
13
#define PCILIB_VERSION PCILIB_MAKE_VERSION(PCILIB_VERSION_MAJOR, PCILIB_VERSION_MINOR, PCILIB_VERSION_MICRO)
14
15
#endif /* _PCILIB_VERSION_H */