PageRenderTime 28ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/iostreams/detail/file_handle.hpp

http://hadesmem.googlecode.com/
C++ Header | 32 lines | 11 code | 6 blank | 15 comment | 0 complexity | c8efe445f4a5963ce9ca05e9ae86de57 MD5 | raw file
 1/*
 2 * Distributed under the Boost Software License, Version 1.0.(See accompanying 
 3 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
 4 * 
 5 * See http://www.boost.org/libs/iostreams for documentation.
 6 *
 7 * File:        boost/iostreams/detail/file_handle.hpp
 8 * Date:        Sun Jun 22 14:23:12 MDT 2008
 9 * Copyright:   2008 CodeRage, LLC
10 * Author:      Jonathan Turkanis
11 * Contact:     turkanis at coderage dot com
12 *
13 * Defines the type boost::iostreams::detail::file_handle, representing an
14 * operating system file handle.
15 */
16
17#ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
18#define BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
19
20#include <boost/iostreams/detail/config/windows_posix.hpp>
21
22namespace boost { namespace iostreams { namespace detail {
23
24#ifdef BOOST_IOSTREAMS_WINDOWS
25    typedef void*  file_handle;  // A.k.a. HANDLE
26#else
27    typedef int    file_handle;
28#endif
29
30} } } // End namespaces detail, iostreams, boost.
31
32#endif // #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED