mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 21:31:25 +03:00
Added define *_VERSION_STRING for all modules
This commit is contained in:
parent
455a853cf2
commit
1eb9ddae92
@ -22,6 +22,7 @@
|
||||
#define MODEST_MYOSI_H
|
||||
#pragma once
|
||||
|
||||
#include <mycore/myosi.h>
|
||||
#include <myhtml/myhtml.h>
|
||||
#include <mycss/mycss.h>
|
||||
|
||||
@ -29,6 +30,8 @@
|
||||
#define MODEST_VERSION_MINOR 0
|
||||
#define MODEST_VERSION_PATCH 6
|
||||
|
||||
#define MODEST_VERSION_STRING MyCORE_STR(MODEST_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -29,10 +29,15 @@
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#define MyCORE_STR_HELPER(x) #x
|
||||
#define MyCORE_STR(x) MyCORE_STR_HELPER(x)
|
||||
|
||||
#define MyCORE_VERSION_MAJOR 0
|
||||
#define MyCORE_VERSION_MINOR 1
|
||||
#define MyCORE_VERSION_PATCH 0
|
||||
|
||||
#define MyCORE_VERSION_STRING MyCORE_STR(MyCORE_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -26,6 +26,8 @@
|
||||
#define MyCSS_VERSION_MINOR 1
|
||||
#define MyCSS_VERSION_PATCH 0
|
||||
|
||||
#define MyCSS_VERSION_STRING MyCORE_STR(MyCSS_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -28,6 +28,8 @@
|
||||
#define MyENCODING_VERSION_MINOR 1
|
||||
#define MyENCODING_VERSION_PATCH 0
|
||||
|
||||
#define MyENCODING_VERSION_STRING MyCORE_STR(MyENCODING_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -44,6 +44,8 @@
|
||||
#define MyFONT_VERSION_MINOR 0
|
||||
#define MyFONT_VERSION_PATCH 2
|
||||
|
||||
#define MyFONT_VERSION_STRING MyCORE_STR(MyFONT_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -38,6 +38,8 @@
|
||||
#define MyHTML_VERSION_MINOR 0
|
||||
#define MyHTML_VERSION_PATCH 0
|
||||
|
||||
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
@ -28,6 +28,8 @@
|
||||
#define MyHTML_VERSION_MINOR 0
|
||||
#define MyHTML_VERSION_PATCH 0
|
||||
|
||||
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -28,6 +28,8 @@
|
||||
#define MyURL_VERSION_MINOR 1
|
||||
#define MyURL_VERSION_PATCH 0
|
||||
|
||||
#define MyURL_VERSION_STRING MyCORE_STR(MyURL_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -22,6 +22,7 @@
|
||||
#define MODEST_MYOSI_H
|
||||
#pragma once
|
||||
|
||||
#include "mycore/myosi.h"
|
||||
#include "myhtml/myhtml.h"
|
||||
#include "mycss/mycss.h"
|
||||
|
||||
@ -29,6 +30,8 @@
|
||||
#define MODEST_VERSION_MINOR 0
|
||||
#define MODEST_VERSION_PATCH 6
|
||||
|
||||
#define MODEST_VERSION_STRING MyCORE_STR(MODEST_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -29,10 +29,15 @@
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#define MyCORE_STR_HELPER(x) #x
|
||||
#define MyCORE_STR(x) MyCORE_STR_HELPER(x)
|
||||
|
||||
#define MyCORE_VERSION_MAJOR 0
|
||||
#define MyCORE_VERSION_MINOR 1
|
||||
#define MyCORE_VERSION_PATCH 0
|
||||
|
||||
#define MyCORE_VERSION_STRING MyCORE_STR(MyCORE_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -26,6 +26,8 @@
|
||||
#define MyCSS_VERSION_MINOR 1
|
||||
#define MyCSS_VERSION_PATCH 0
|
||||
|
||||
#define MyCSS_VERSION_STRING MyCORE_STR(MyCSS_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -28,6 +28,8 @@
|
||||
#define MyENCODING_VERSION_MINOR 1
|
||||
#define MyENCODING_VERSION_PATCH 0
|
||||
|
||||
#define MyENCODING_VERSION_STRING MyCORE_STR(MyENCODING_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -44,6 +44,8 @@
|
||||
#define MyFONT_VERSION_MINOR 0
|
||||
#define MyFONT_VERSION_PATCH 2
|
||||
|
||||
#define MyFONT_VERSION_STRING MyCORE_STR(MyFONT_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -38,6 +38,8 @@
|
||||
#define MyHTML_VERSION_MINOR 0
|
||||
#define MyHTML_VERSION_PATCH 0
|
||||
|
||||
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
@ -28,6 +28,8 @@
|
||||
#define MyHTML_VERSION_MINOR 0
|
||||
#define MyHTML_VERSION_PATCH 0
|
||||
|
||||
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -28,6 +28,8 @@
|
||||
#define MyURL_VERSION_MINOR 1
|
||||
#define MyURL_VERSION_PATCH 0
|
||||
|
||||
#define MyURL_VERSION_STRING MyCORE_STR(MyURL_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_PATCH)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user