Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Side by Side Diff: third_party/lzma/v4_65/files/CPP/Windows/Defs.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 #ifdef _WIN32
10 inline bool LRESULTToBool(LRESULT value)
11 { return (value != FALSE); }
12 #endif
13
14 inline BOOL BoolToBOOL(bool value)
15 { return (value ? TRUE: FALSE); }
16
17 inline VARIANT_BOOL BoolToVARIANT_BOOL(bool value)
18 { return (value ? VARIANT_TRUE: VARIANT_FALSE); }
19
20 inline bool VARIANT_BOOLToBool(VARIANT_BOOL value)
21 { return (value != VARIANT_FALSE); }
22
23 #endif
OLDNEW
« no previous file with comments | « third_party/lzma/v4_65/files/CPP/Windows/DLL.cpp ('k') | third_party/lzma/v4_65/files/CPP/Windows/Error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698