mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 16:43:58 +00:00
Merge pull request #36 from hintjens/master
Updated version number for 4.0.2
This commit is contained in:
commit
78b741bd71
@ -28,6 +28,16 @@
|
|||||||
#ifndef __ZMQ_H_INCLUDED__
|
#ifndef __ZMQ_H_INCLUDED__
|
||||||
#define __ZMQ_H_INCLUDED__
|
#define __ZMQ_H_INCLUDED__
|
||||||
|
|
||||||
|
/* Version macros for compile-time API version detection */
|
||||||
|
#define ZMQ_VERSION_MAJOR 4
|
||||||
|
#define ZMQ_VERSION_MINOR 0
|
||||||
|
#define ZMQ_VERSION_PATCH 2
|
||||||
|
|
||||||
|
#define ZMQ_MAKE_VERSION(major, minor, patch) \
|
||||||
|
((major) * 10000 + (minor) * 100 + (patch))
|
||||||
|
#define ZMQ_VERSION \
|
||||||
|
ZMQ_MAKE_VERSION(ZMQ_VERSION_MAJOR, ZMQ_VERSION_MINOR, ZMQ_VERSION_PATCH)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@ -78,23 +88,6 @@ typedef unsigned __int8 uint8_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
/* 0MQ versioning support. */
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
/* Version macros for compile-time API version detection */
|
|
||||||
#define ZMQ_VERSION_MAJOR 4
|
|
||||||
#define ZMQ_VERSION_MINOR 0
|
|
||||||
#define ZMQ_VERSION_PATCH 1
|
|
||||||
|
|
||||||
#define ZMQ_MAKE_VERSION(major, minor, patch) \
|
|
||||||
((major) * 10000 + (minor) * 100 + (patch))
|
|
||||||
#define ZMQ_VERSION \
|
|
||||||
ZMQ_MAKE_VERSION(ZMQ_VERSION_MAJOR, ZMQ_VERSION_MINOR, ZMQ_VERSION_PATCH)
|
|
||||||
|
|
||||||
/* Run-time API version detection */
|
|
||||||
ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
|
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* 0MQ errors. */
|
/* 0MQ errors. */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
@ -165,6 +158,9 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
|
|||||||
#define ETERM (ZMQ_HAUSNUMERO + 53)
|
#define ETERM (ZMQ_HAUSNUMERO + 53)
|
||||||
#define EMTHREAD (ZMQ_HAUSNUMERO + 54)
|
#define EMTHREAD (ZMQ_HAUSNUMERO + 54)
|
||||||
|
|
||||||
|
/* Run-time API version detection */
|
||||||
|
ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
|
||||||
|
|
||||||
/* This function retrieves the errno as it is known to 0MQ library. The goal */
|
/* This function retrieves the errno as it is known to 0MQ library. The goal */
|
||||||
/* of this function is to make the code 100% portable, including where 0MQ */
|
/* of this function is to make the code 100% portable, including where 0MQ */
|
||||||
/* compiled with certain CRT library (on Windows) is linked to an */
|
/* compiled with certain CRT library (on Windows) is linked to an */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user