Annotation of elwix/tools/oldlzma/SRC/Windows/Defs.h, revision 1.1.1.1
1.1 misho 1: // Windows/Defs.h
2:
3: #ifndef __WINDOWS_DEFS_H
4: #define __WINDOWS_DEFS_H
5:
6: inline bool BOOLToBool(BOOL value)
7: { return (value != FALSE); }
8:
9: inline BOOL BoolToBOOL(bool value)
10: { return (value ? TRUE: FALSE); }
11:
12: inline VARIANT_BOOL BoolToVARIANT_BOOL(bool value)
13: { return (value ? VARIANT_TRUE: VARIANT_FALSE); }
14:
15: inline bool VARIANT_BOOLToBool(VARIANT_BOOL value)
16: { return (value != VARIANT_FALSE); }
17:
18: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>