lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
win_types.h
00001 /*****************************************************/
00002 /* lean IO                      (c) Tobias Zirr 2011 */
00003 /*****************************************************/
00004 
00005 #ifndef LEAN_IO_WIN_TYPES
00006 #define LEAN_IO_WIN_TYPES
00007 
00008 #include "../pimpl/opaque_val.h"
00009 
00010 namespace lean
00011 {
00012 namespace io
00013 {
00014 
00016 DECLARE_OPAQUE_TYPE(windows_file_handle, void*);
00017 #ifdef _WINDOWS_
00018 DEFINE_OPAQUE_TYPE(windows_file_handle, HANDLE);
00019 #endif
00020 
00021 }
00022 
00023 using io::windows_file_handle;
00024 
00025 }
00026 
00027 #endif