dxd - dynax driver framework 2.6.0d204
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx_macros.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define __DX_CAT(id1, id2)
#define __DX_CAT_VERSION(mj, mn, s, d, b)
#define __DX_DEC(bcd)
#define __DX_FIRST(first, ...)
#define __DX_LSTRINGIFY(x)
#define __DX_NEXT(first, ...)
#define __DX_STRINGIFY(x)
#define DX_BCD(x)
#define DX_BUILD_INFO   " debug build " __DATE__ " " __TIME__
#define DX_CAT(id1, id2)
#define DX_CAT_VERSION(mj, mn, s, d, b)
#define DX_CFSTRINGIFY(x)
#define DX_DEBUG
#define DX_DEC(bcd)
#define DX_FIRST(...)
#define DX_GUID_FORMAT   %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x
#define DX_GUID_SPLIT(g)
#define DX_LSTRINGIFY(x)
#define DX_NEXT(...)
#define DX_PLATFORM_SDK   DX_VERSION32_COMBINE(DX_PLATFORM_SDK_MAJOR,DX_PLATFORM_SDK_MINOR,DX_PLATFORM_SDK_SUB,0,0)
#define DX_STRINGIFY(x)
#define DX_SWAP32(v32)
#define DX_VERSION   DX_CAT_VERSION(DX_VERSION_MAJOR,DX_VERSION_MINOR,DX_VERSION_SUB,DX_VERSION_DEPLOYMENT,DX_VERSION_BUILD)
#define DX_VERSION32   DX_VERSION32_COMBINE(DX_DEC(DX_VERSION_MAJOR),DX_VERSION_MINOR,DX_VERSION_SUB,DX_DEC(DX_VERSION_DEPLOYMENT),DX_DEC(DX_VERSION_BUILD))
#define DX_VERSION32_BUILD(v32)
#define DX_VERSION32_COMBINE(M, m, s, d, b)
#define DX_VERSION32_DEPLOYMENT(v32)
#define DX_VERSION32_FORMAT(v32)
#define DX_VERSION32_FORMAT_SHORT(v32)
#define DX_VERSION32_MAJOR(v32)
#define DX_VERSION32_MINOR(v32)
#define DX_VERSION32_SUB(v32)
#define DX_VERSION_FORMAT   %x.%d.%d%x%x
#define DX_VERSION_FORMAT_SHORT   %x.%d.%d
#define DX_VERSION_MASK_BUILD   0x000003ff
#define DX_VERSION_MASK_COMPATIBILITY   0xffffffff
#define DX_VERSION_MASK_DEPLOYMENT   0x0000f000
#define DX_VERSION_MASK_MAJOR   0xff000000
#define DX_VERSION_MASK_MINOR   0x00f00000
#define DX_VERSION_MASK_SUB   0x000f0000
#define DX_VERSION_SHIFT_DEPLOYMENT   12
#define DX_VERSION_SHIFT_MAJOR   24
#define DX_VERSION_SHIFT_MINOR   20
#define DX_VERSION_SHIFT_SUB   16
#define sizeof_array(array)

Macro Definition Documentation

◆ __DX_CAT

#define __DX_CAT ( id1,
id2 )
Value:
id1##id2

◆ __DX_CAT_VERSION

#define __DX_CAT_VERSION ( mj,
mn,
s,
d,
b )
Value:
mj##.##mn##.##s##d##b

◆ __DX_DEC

#define __DX_DEC ( bcd)
Value:
0x##bcd

◆ __DX_FIRST

#define __DX_FIRST ( first,
... )
Value:
first

◆ __DX_LSTRINGIFY

#define __DX_LSTRINGIFY ( x)
Value:
L#x

◆ __DX_NEXT

#define __DX_NEXT ( first,
... )
Value:
__VA_OPT__(,) __VA_ARGS__

◆ __DX_STRINGIFY

#define __DX_STRINGIFY ( x)
Value:
#x

◆ DX_BCD

#define DX_BCD ( x)
Value:
(((((x)/ 10)% 10)<< 4)+ ((x)% 10))

◆ DX_BUILD_INFO

#define DX_BUILD_INFO   " debug build " __DATE__ " " __TIME__

◆ DX_CAT

#define DX_CAT ( id1,
id2 )
Value:
__DX_CAT(id1,id2)
#define __DX_CAT(id1, id2)
Definition dx_macros.h:29

◆ DX_CAT_VERSION

#define DX_CAT_VERSION ( mj,
mn,
s,
d,
b )
Value:
__DX_CAT_VERSION(mj,mn,s,d,b)
#define __DX_CAT_VERSION(mj, mn, s, d, b)
Definition dx_macros.h:28

◆ DX_CFSTRINGIFY

#define DX_CFSTRINGIFY ( x)
Value:
CFSTR(__DX_STRINGIFY(x))
#define __DX_STRINGIFY(x)
Definition dx_macros.h:26

◆ DX_DEBUG

#define DX_DEBUG

◆ DX_DEC

#define DX_DEC ( bcd)
Value:
#define __DX_DEC(bcd)
Definition dx_macros.h:30

◆ DX_FIRST

#define DX_FIRST ( ...)
Value:
__DX_FIRST(__VA_ARGS__)
#define __DX_FIRST(first,...)
Definition dx_macros.h:31

◆ DX_GUID_FORMAT

#define DX_GUID_FORMAT   %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x

◆ DX_GUID_SPLIT

#define DX_GUID_SPLIT ( g)
Value:
(g).Data1,(g).Data2,(g).Data3,(g).Data4[0],(g).Data4[1],(g).Data4[2],(g).Data4[3],(g).Data4[4],(g).Data4[5],(g).Data4[6],(g).Data4[7]

◆ DX_LSTRINGIFY

#define DX_LSTRINGIFY ( x)
Value:
#define __DX_LSTRINGIFY(x)
Definition dx_macros.h:27

◆ DX_NEXT

#define DX_NEXT ( ...)
Value:
__DX_NEXT(__VA_ARGS__)
#define __DX_NEXT(first,...)
Definition dx_macros.h:32

◆ DX_PLATFORM_SDK

#define DX_PLATFORM_SDK   DX_VERSION32_COMBINE(DX_PLATFORM_SDK_MAJOR,DX_PLATFORM_SDK_MINOR,DX_PLATFORM_SDK_SUB,0,0)

◆ DX_STRINGIFY

#define DX_STRINGIFY ( x)
Value:

◆ DX_SWAP32

#define DX_SWAP32 ( v32)
Value:
(((v32)<< 24)| (((v32) &0xff0000)>> 8)| (((v32) &0xff00)<< 8)| ((v32)>> 24))

◆ DX_VERSION

◆ DX_VERSION32

◆ DX_VERSION32_BUILD

#define DX_VERSION32_BUILD ( v32)
Value:
#define DX_VERSION_MASK_BUILD
Definition dx_macros.h:62

◆ DX_VERSION32_COMBINE

#define DX_VERSION32_COMBINE ( M,
m,
s,
d,
b )
Value:
#define DX_VERSION_SHIFT_MAJOR
Definition dx_macros.h:63
#define DX_VERSION_SHIFT_MINOR
Definition dx_macros.h:64
#define DX_VERSION_SHIFT_DEPLOYMENT
Definition dx_macros.h:66
#define DX_VERSION_SHIFT_SUB
Definition dx_macros.h:65

◆ DX_VERSION32_DEPLOYMENT

#define DX_VERSION32_DEPLOYMENT ( v32)
Value:
#define DX_VERSION_MASK_DEPLOYMENT
Definition dx_macros.h:61

◆ DX_VERSION32_FORMAT

#define DX_VERSION32_FORMAT ( v32)
Value:
#define DX_VERSION32_MAJOR(v32)
Definition dx_macros.h:70
#define DX_VERSION32_BUILD(v32)
Definition dx_macros.h:74
#define DX_VERSION32_SUB(v32)
Definition dx_macros.h:72
#define DX_VERSION32_DEPLOYMENT(v32)
Definition dx_macros.h:73
#define DX_VERSION32_MINOR(v32)
Definition dx_macros.h:71

◆ DX_VERSION32_FORMAT_SHORT

#define DX_VERSION32_FORMAT_SHORT ( v32)

◆ DX_VERSION32_MAJOR

#define DX_VERSION32_MAJOR ( v32)
Value:
#define DX_VERSION_MASK_MAJOR
Definition dx_macros.h:58

◆ DX_VERSION32_MINOR

#define DX_VERSION32_MINOR ( v32)
Value:
#define DX_VERSION_MASK_MINOR
Definition dx_macros.h:59

◆ DX_VERSION32_SUB

#define DX_VERSION32_SUB ( v32)
Value:
#define DX_VERSION_MASK_SUB
Definition dx_macros.h:60

◆ DX_VERSION_FORMAT

#define DX_VERSION_FORMAT   %x.%d.%d%x%x

◆ DX_VERSION_FORMAT_SHORT

#define DX_VERSION_FORMAT_SHORT   %x.%d.%d

◆ DX_VERSION_MASK_BUILD

#define DX_VERSION_MASK_BUILD   0x000003ff

◆ DX_VERSION_MASK_COMPATIBILITY

#define DX_VERSION_MASK_COMPATIBILITY   0xffffffff

◆ DX_VERSION_MASK_DEPLOYMENT

#define DX_VERSION_MASK_DEPLOYMENT   0x0000f000

◆ DX_VERSION_MASK_MAJOR

#define DX_VERSION_MASK_MAJOR   0xff000000

◆ DX_VERSION_MASK_MINOR

#define DX_VERSION_MASK_MINOR   0x00f00000

◆ DX_VERSION_MASK_SUB

#define DX_VERSION_MASK_SUB   0x000f0000

◆ DX_VERSION_SHIFT_DEPLOYMENT

#define DX_VERSION_SHIFT_DEPLOYMENT   12

◆ DX_VERSION_SHIFT_MAJOR

#define DX_VERSION_SHIFT_MAJOR   24

◆ DX_VERSION_SHIFT_MINOR

#define DX_VERSION_SHIFT_MINOR   20

◆ DX_VERSION_SHIFT_SUB

#define DX_VERSION_SHIFT_SUB   16

◆ sizeof_array

#define sizeof_array ( array)
Value:
(sizeof(array)/sizeof((array)[0]))

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.