LILAC
Language to language Interop LAyer Compiler
Loading...
Searching...
No Matches
version.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __IS_MONTH(month)
 
#define __DATE_MONTH
 
#define __DATE_YEAR
 
#define __DATE_DAY
 
#define LILAC_DATE   (__DATE_YEAR * 10000 + __DATE_MONTH * 100 + __DATE_DAY)
 
#define LILAC_SHORT_LICENSE
 

Macro Definition Documentation

◆ __DATE_DAY

#define __DATE_DAY
Value:
((__DATE__[4]-'0')*10 +\
(__DATE__[5]-'0'))

Definition at line 47 of file version.h.

◆ __DATE_MONTH

#define __DATE_MONTH
Value:
(__IS_MONTH(Jan) ? 0x1 : \
__IS_MONTH(Feb) ? 0x2 : \
__IS_MONTH(Mar) ? 0x3 : \
__IS_MONTH(Apr) ? 0x4 : \
__IS_MONTH(May) ? 0x5 : \
__IS_MONTH(Jun) ? 0x6 : \
__IS_MONTH(Jul) ? 0x7 : \
__IS_MONTH(Aug) ? 0x8 : \
__IS_MONTH(Sep) ? 0x9 : \
__IS_MONTH(Oct) ? 0xA : \
__IS_MONTH(Nov) ? 0xB : \
__IS_MONTH(Dec) ? 0xC : 0)
#define __IS_MONTH(month)
Definition version.h:22

Definition at line 27 of file version.h.

◆ __DATE_YEAR

#define __DATE_YEAR
Value:
((__DATE__[7]-'0')*1000 + \
(__DATE__[8]-'0')*100 + \
(__DATE__[9]-'0')*10 + \
(__DATE__[10]-'0'))

Definition at line 41 of file version.h.

◆ __IS_MONTH

#define __IS_MONTH ( month)
Value:
((__DATE__[0]==#month[0]) && \
(__DATE__[1]==#month[1]) && \
(__DATE__[2]==#month[2]))

Definition at line 22 of file version.h.

◆ LILAC_DATE

#define LILAC_DATE   (__DATE_YEAR * 10000 + __DATE_MONTH * 100 + __DATE_DAY)

Definition at line 51 of file version.h.

◆ LILAC_SHORT_LICENSE

#define LILAC_SHORT_LICENSE
Value:
"Copyright (C) 2024 Yeong-Won Seo \n" \
"This is free software; see the source for copying conditions. There is NO \n" \
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."

Definition at line 53 of file version.h.