make.h File Reference
`#include <msgpack/predef/detail/test.h>`

Go to the source code of this file.

## Macros

#define | MSGPACK_PREDEF_MAKE_0X_VRP(V) MSGPACK_VERSION_NUMBER((V&0xF00)>>8,(V&0xF0)>>4,(V&0xF))
#define | MSGPACK_PREDEF_MAKE_0X_VVRP(V) MSGPACK_VERSION_NUMBER((V&0xFF00)>>8,(V&0xF0)>>4,(V&0xF))
#define | MSGPACK_PREDEF_MAKE_0X_VRPP(V) MSGPACK_VERSION_NUMBER((V&0xF000)>>12,(V&0xF00)>>8,(V&0xFF))
#define | MSGPACK_PREDEF_MAKE_0X_VVRR(V) MSGPACK_VERSION_NUMBER((V&0xFF00)>>8,(V&0xFF),0)
#define | MSGPACK_PREDEF_MAKE_0X_VRRPPPP(V) MSGPACK_VERSION_NUMBER((V&0xF000000)>>24,(V&0xFF0000)>>16,(V&0xFFFF))
#define | MSGPACK_PREDEF_MAKE_0X_VVRRP(V) MSGPACK_VERSION_NUMBER((V&0xFF000)>>12,(V&0xFF0)>>4,(V&0xF))
#define | MSGPACK_PREDEF_MAKE_0X_VRRPP000(V) MSGPACK_VERSION_NUMBER((V&0xF0000000)>>28,(V&0xFF00000)>>20,(V&0xFF000)>>12)
#define | MSGPACK_PREDEF_MAKE_0X_VVRRPP(V) MSGPACK_VERSION_NUMBER((V&0xFF0000)>>16,(V&0xFF00)>>8,(V&0xFF))
#define | MSGPACK_PREDEF_MAKE_10_VPPP(V) MSGPACK_VERSION_NUMBER(((V)/1000)%10,0,(V)%1000)
#define | MSGPACK_PREDEF_MAKE_10_VRP(V) MSGPACK_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,(V)%10)
#define | MSGPACK_PREDEF_MAKE_10_VRP000(V) MSGPACK_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,((V)/1000)%10)
#define | MSGPACK_PREDEF_MAKE_10_VRPP(V) MSGPACK_VERSION_NUMBER(((V)/1000)%10,((V)/100)%10,(V)%100)
#define | MSGPACK_PREDEF_MAKE_10_VRR(V) MSGPACK_VERSION_NUMBER(((V)/100)%10,(V)%100,0)
#define | MSGPACK_PREDEF_MAKE_10_VRRPP(V) MSGPACK_VERSION_NUMBER(((V)/10000)%10,((V)/100)%100,(V)%100)
#define | MSGPACK_PREDEF_MAKE_10_VRR000(V) MSGPACK_VERSION_NUMBER(((V)/100000)%10,((V)/1000)%100,0)
#define | MSGPACK_PREDEF_MAKE_10_VV00(V) MSGPACK_VERSION_NUMBER(((V)/100)%100,0,0)
#define | MSGPACK_PREDEF_MAKE_10_VVRR(V) MSGPACK_VERSION_NUMBER(((V)/100)%100,(V)%100,0)
#define | MSGPACK_PREDEF_MAKE_10_VVRRPP(V) MSGPACK_VERSION_NUMBER(((V)/10000)%100,((V)/100)%100,(V)%100)
#define | MSGPACK_PREDEF_MAKE_10_VVRR0PP00(V) MSGPACK_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,((V)/100)%100)
#define | MSGPACK_PREDEF_MAKE_10_VVRR0PPPP(V) MSGPACK_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,(V)%10000)
#define | MSGPACK_PREDEF_MAKE_10_VVRR00PP00(V) MSGPACK_VERSION_NUMBER(((V)/100000000)%100,((V)/1000000)%100,((V)/100)%100)
#define | MSGPACK_PREDEF_MAKE_DATE(Y, M, D) MSGPACK_VERSION_NUMBER((Y)%10000-1970,(M)%100,(D)%100)
#define | MSGPACK_PREDEF_MAKE_YYYYMMDD(V) MSGPACK_PREDEF_MAKE_DATE(((V)/10000)%10000,((V)/100)%100,(V)%100)
#define | MSGPACK_PREDEF_MAKE_YYYY(V) MSGPACK_PREDEF_MAKE_DATE(V,1,1)
#define | MSGPACK_PREDEF_MAKE_YYYYMM(V) MSGPACK_PREDEF_MAKE_DATE((V)/100,(V)%100,1)

## Macro Definition Documentation

## MSGPACK_PREDEF_MAKE_0X_VRP

#define MSGPACK_PREDEF_MAKE_0X_VRP | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xF00)>>8,(V&0xF0)>>4,(V&0xF))

## MSGPACK_PREDEF_MAKE_0X_VRPP

#define MSGPACK_PREDEF_MAKE_0X_VRPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xF000)>>12,(V&0xF00)>>8,(V&0xFF))

## MSGPACK_PREDEF_MAKE_0X_VRRPP000

#define MSGPACK_PREDEF_MAKE_0X_VRRPP000 | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xF0000000)>>28,(V&0xFF00000)>>20,(V&0xFF000)>>12)

## MSGPACK_PREDEF_MAKE_0X_VRRPPPP

#define MSGPACK_PREDEF_MAKE_0X_VRRPPPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xF000000)>>24,(V&0xFF0000)>>16,(V&0xFFFF))

## MSGPACK_PREDEF_MAKE_0X_VVRP

#define MSGPACK_PREDEF_MAKE_0X_VVRP | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xFF00)>>8,(V&0xF0)>>4,(V&0xF))

## MSGPACK_PREDEF_MAKE_0X_VVRR

#define MSGPACK_PREDEF_MAKE_0X_VVRR | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xFF00)>>8,(V&0xFF),0)

## MSGPACK_PREDEF_MAKE_0X_VVRRP

#define MSGPACK_PREDEF_MAKE_0X_VVRRP | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xFF000)>>12,(V&0xFF0)>>4,(V&0xF))

## MSGPACK_PREDEF_MAKE_0X_VVRRPP

#define MSGPACK_PREDEF_MAKE_0X_VVRRPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER((V&0xFF0000)>>16,(V&0xFF00)>>8,(V&0xFF))

## MSGPACK_PREDEF_MAKE_10_VPPP

#define MSGPACK_PREDEF_MAKE_10_VPPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/1000)%10,0,(V)%1000)

## MSGPACK_PREDEF_MAKE_10_VRP

#define MSGPACK_PREDEF_MAKE_10_VRP | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,(V)%10)

## MSGPACK_PREDEF_MAKE_10_VRP000

#define MSGPACK_PREDEF_MAKE_10_VRP000 | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,((V)/1000)%10)

## MSGPACK_PREDEF_MAKE_10_VRPP

#define MSGPACK_PREDEF_MAKE_10_VRPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/1000)%10,((V)/100)%10,(V)%100)

## MSGPACK_PREDEF_MAKE_10_VRR

#define MSGPACK_PREDEF_MAKE_10_VRR | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100)%10,(V)%100,0)

## MSGPACK_PREDEF_MAKE_10_VRR000

#define MSGPACK_PREDEF_MAKE_10_VRR000 | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100000)%10,((V)/1000)%100,0)

## MSGPACK_PREDEF_MAKE_10_VRRPP

#define MSGPACK_PREDEF_MAKE_10_VRRPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/10000)%10,((V)/100)%100,(V)%100)

## MSGPACK_PREDEF_MAKE_10_VV00

#define MSGPACK_PREDEF_MAKE_10_VV00 | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100)%100,0,0)

## MSGPACK_PREDEF_MAKE_10_VVRR

#define MSGPACK_PREDEF_MAKE_10_VVRR | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100)%100,(V)%100,0)

## MSGPACK_PREDEF_MAKE_10_VVRR00PP00

#define MSGPACK_PREDEF_MAKE_10_VVRR00PP00 | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/100000000)%100,((V)/1000000)%100,((V)/100)%100)

## MSGPACK_PREDEF_MAKE_10_VVRR0PP00

#define MSGPACK_PREDEF_MAKE_10_VVRR0PP00 | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,((V)/100)%100)

## MSGPACK_PREDEF_MAKE_10_VVRR0PPPP

#define MSGPACK_PREDEF_MAKE_10_VVRR0PPPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,(V)%10000)

## MSGPACK_PREDEF_MAKE_10_VVRRPP

#define MSGPACK_PREDEF_MAKE_10_VVRRPP | ( |  | V | ) | MSGPACK_VERSION_NUMBER(((V)/10000)%100,((V)/100)%100,(V)%100)

## MSGPACK_PREDEF_MAKE_DATE

#define MSGPACK_PREDEF_MAKE_DATE | ( |  | Y,
|  |  | M,
|  |  | D
| ) |  | MSGPACK_VERSION_NUMBER((Y)%10000-1970,(M)%100,(D)%100)

## MSGPACK_PREDEF_MAKE_YYYY

#define MSGPACK_PREDEF_MAKE_YYYY | ( |  | V | ) | MSGPACK_PREDEF_MAKE_DATE(V,1,1)

## MSGPACK_PREDEF_MAKE_YYYYMM

#define MSGPACK_PREDEF_MAKE_YYYYMM | ( |  | V | ) | MSGPACK_PREDEF_MAKE_DATE((V)/100,(V)%100,1)

## MSGPACK_PREDEF_MAKE_YYYYMMDD

#define MSGPACK_PREDEF_MAKE_YYYYMMDD | ( |  | V | ) | MSGPACK_PREDEF_MAKE_DATE(((V)/10000)%10000,((V)/100)%100,(V)%100)