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 LIBCAPSPROVIDER_MAJOR   1
 
#define LIBCAPSPROVIDER_MINOR   1
 
#define LIBCAPSPROVIDER_MICRO   1
 

Functions

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

Detailed Description

Macro Definition Documentation

◆ LIBCAPSPROVIDER_MAJOR

#define LIBCAPSPROVIDER_MAJOR   1

Major package release number (compile/link time relevant)

◆ LIBCAPSPROVIDER_MINOR

#define LIBCAPSPROVIDER_MINOR   1

Minor package release number (compile/link time relevant)

◆ LIBCAPSPROVIDER_MICRO

#define LIBCAPSPROVIDER_MICRO   1

Micro package release number (compile/link time relevant)

Function Documentation

◆ caps_libprovider_version_get()

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

Retrieve the library's run-time 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.