Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
hb-version.h File Reference
#include "hb-common.h"

Go to the source code of this file.

Macros

#define HB_VERSION_MAJOR   10
 
#define HB_VERSION_MINOR   0
 
#define HB_VERSION_MICRO   1
 
#define HB_VERSION_STRING   "10.0.1"
 
#define HB_VERSION_ATLEAST(major, minor, micro)
 

Functions

HB_EXTERN void hb_version (unsigned int *major, unsigned int *minor, unsigned int *micro)
 
HB_EXTERN const char * hb_version_string (void)
 
HB_EXTERN hb_bool_t hb_version_atleast (unsigned int major, unsigned int minor, unsigned int micro)
 

Macro Definition Documentation

◆ HB_VERSION_ATLEAST

#define HB_VERSION_ATLEAST ( major,
minor,
micro )
Value:
((major)*10000+(minor)*100+(micro) <= \
#define HB_VERSION_MINOR
Definition hb-version.h:50
#define HB_VERSION_MAJOR
Definition hb-version.h:44
#define HB_VERSION_MICRO
Definition hb-version.h:56

HB_VERSION_ATLEAST: @major: the major component of the version number @minor: the minor component of the version number @micro: the micro component of the version number

Tests the library version at compile-time against a minimum value, as three integer components.

Definition at line 74 of file hb-version.h.

74#define HB_VERSION_ATLEAST(major,minor,micro) \
75 ((major)*10000+(minor)*100+(micro) <= \
76 HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)

◆ HB_VERSION_MAJOR

#define HB_VERSION_MAJOR   10

HB_VERSION_MAJOR:

The major component of the library version available at compile-time.

Definition at line 44 of file hb-version.h.

◆ HB_VERSION_MICRO

#define HB_VERSION_MICRO   1

HB_VERSION_MICRO:

The micro component of the library version available at compile-time.

Definition at line 56 of file hb-version.h.

◆ HB_VERSION_MINOR

#define HB_VERSION_MINOR   0

HB_VERSION_MINOR:

The minor component of the library version available at compile-time.

Definition at line 50 of file hb-version.h.

◆ HB_VERSION_STRING

#define HB_VERSION_STRING   "10.0.1"

HB_VERSION_STRING:

A string literal containing the library version available at compile-time.

Definition at line 63 of file hb-version.h.

Function Documentation

◆ hb_version()

HB_EXTERN void hb_version ( unsigned int * major,
unsigned int * minor,
unsigned int * micro )

◆ hb_version_atleast()

HB_EXTERN hb_bool_t hb_version_atleast ( unsigned int major,
unsigned int minor,
unsigned int micro )

◆ hb_version_string()

HB_EXTERN const char * hb_version_string ( void )