CAPS Universe documentation  1.0.4
All you need to know to be successful
Macros | Functions

Info for user's code to do the right thing. More...

Macros

#define LIBCAPSDRIVER_MAJOR   1
 
#define LIBCAPSDRIVER_MINOR   3
 
#define LIBCAPSDRIVER_MICRO   0
 

Functions

void caps_libdriver_version_get (unsigned *major, unsigned *minor, unsigned *micro)
 

Detailed Description

Macro Definition Documentation

◆ LIBCAPSDRIVER_MAJOR

#define LIBCAPSDRIVER_MAJOR   1

Major package release number

◆ LIBCAPSDRIVER_MINOR

#define LIBCAPSDRIVER_MINOR   3

Minor package release number

◆ LIBCAPSDRIVER_MICRO

#define LIBCAPSDRIVER_MICRO   0

Micro package release number

Function Documentation

◆ caps_libdriver_version_get()

void caps_libdriver_version_get ( unsigned *  major,
unsigned *  minor,
unsigned *  micro 
)

Retrieve the library's version

Parameters
[out]majorWhere to store the major release number
[out]minorWhere to store the minor release number
[out]microWhere to store the micro release number

Just to support link-time versus run-time detection.