Initial commit based on common repo commit ffeb9c9b
This commit is contained in:
32
libs/gempa/caps/version.h
Normal file
32
libs/gempa/caps/version.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2018 by gempa GmbH
|
||||
*
|
||||
* Author: Stephan Herrnkind
|
||||
* Email: herrnkidn@gempa.de
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef __GEMPA_CAPS_VERSION_H__
|
||||
#define __GEMPA_CAPS_VERSION_H__
|
||||
|
||||
|
||||
/* #if (LIB_CAPS_VERSION >= LIB_CAPS_VERSION_CHECK(1, 0, 0)) */
|
||||
#define LIB_CAPS_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
|
||||
|
||||
#define LIB_CAPS_VERSION_MAJOR(v) (v >> 16)
|
||||
#define LIB_CAPS_VERSION_MINOR(v) ((v >> 8) & 0xff)
|
||||
#define LIB_CAPS_VERSION_PATCH(v) (v & 0xff)
|
||||
|
||||
/* LIB_CAPS_VERSION is (major << 16) + (minor << 8) + patch. */
|
||||
#define LIB_CAPS_VERSION 0x010000
|
||||
#define LIB_CAPS_VERSION_NAME "1.0.0"
|
||||
|
||||
/******************************************************************************
|
||||
API Changelog
|
||||
******************************************************************************
|
||||
"1.0.0" 0x010000
|
||||
- Initial version
|
||||
|
||||
*/
|
||||
|
||||
#endif // __GEMPA_CAPS_VERSION_H__
|
||||
Reference in New Issue
Block a user