Cthulhu  0.2.10
Cthulhu compiler collection
version_def.h File Reference
#include <inttypes.h>
#include <stdint.h>
Include dependency graph for version_def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  version_info_t
 version information for a driver/interface/plugin More...
 

Macros

#define CT_NEW_VERSION(major, minor, patch)   (((major & 0xFF) << 24) | ((minor & 0xFF) << 16) | (patch & 0xFFFF))
 creates a new ctu_version_t from major, minor and patch More...
 
#define CT_VERSION_MAJOR(version)   (((version) >> 24) & 0xFF)
 returns the major version of version More...
 
#define CT_VERSION_MINOR(version)   (((version) >> 16) & 0xFF)
 returns the minor version of version More...
 
#define CT_VERSION_PATCH(version)   ((version) & 0xFFFF)
 returns the patch version of version More...
 
#define PRI_VERSION   PRIuFAST32
 

Typedefs

typedef uint_fast32_t ctu_version_t
 underlying type for ctu_version_t More...