Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/detail/winapi/LocalFree.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 // LocalFree.hpp --------------------------------------------------------------// | |
2 | |
3 // Copyright 2010 Vicente J. Botet Escriba | |
4 | |
5 // Distributed under the Boost Software License, Version 1.0. | |
6 // See http://www.boost.org/LICENSE_1_0.txt | |
7 | |
8 | |
9 #ifndef BOOST_DETAIL_WINAPI_LOCALFREE_HPP | |
10 #define BOOST_DETAIL_WINAPI_LOCALFREE_HPP | |
11 | |
12 #include <boost/detail/winapi/basic_types.hpp> | |
13 | |
14 #ifdef BOOST_HAS_PRAGMA_ONCE | |
15 #pragma once | |
16 #endif | |
17 | |
18 namespace boost { | |
19 namespace detail { | |
20 namespace winapi { | |
21 #if defined( BOOST_USE_WINDOWS_H ) | |
22 typedef HANDLE_ HLOCAL_; | |
23 | |
24 using ::LocalFree; | |
25 #else | |
26 extern "C" typedef HANDLE_ HLOCAL_; | |
27 extern "C" __declspec(dllimport) HLOCAL_ WINAPI | |
28 LocalFree(HLOCAL_ hMem); | |
29 #endif | |
30 } | |
31 } | |
32 } | |
33 #endif // BOOST_DETAIL_WINAPI_LOCALFREE_HPP |