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 LIBCAPSCLIENT_MAJOR   1
 
#define LIBCAPSCLIENT_MINOR   1
 
#define LIBCAPSCLIENT_MICRO   1
 

Functions

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

Detailed Description

You can use the C code macros at compile-time for your decisions or the function for run-time decisions.

Macro Definition Documentation

◆ LIBCAPSCLIENT_MAJOR

#define LIBCAPSCLIENT_MAJOR   1

Major package release number (compile/link time relevant)

◆ LIBCAPSCLIENT_MINOR

#define LIBCAPSCLIENT_MINOR   1

Minor package release number (compile/link time relevant)

◆ LIBCAPSCLIENT_MICRO

#define LIBCAPSCLIENT_MICRO   1

Micro package release number (compile/link time relevant)

Function Documentation

◆ caps_libclient_version_get()

void caps_libclient_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.