mirror of
https://git.suyu.dev/suyu/ext-boost.git
synced 2026-01-04 13:44:28 +01:00
Update boost to 1.71 and add asio
This commit is contained in:
parent
0b920df1c9
commit
43274a0449
1233 changed files with 231689 additions and 5532 deletions
53
boost/winapi/local_memory.hpp
Normal file
53
boost/winapi/local_memory.hpp
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
* Copyright 2010 Vicente J. Botet Escriba
|
||||
* Copyright 2015 Andrey Semashev
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* See http://www.boost.org/LICENSE_1_0.txt
|
||||
*/
|
||||
|
||||
#ifndef BOOST_WINAPI_LOCAL_MEMORY_HPP_INCLUDED_
|
||||
#define BOOST_WINAPI_LOCAL_MEMORY_HPP_INCLUDED_
|
||||
|
||||
#include <boost/winapi/basic_types.hpp>
|
||||
|
||||
#ifdef BOOST_HAS_PRAGMA_ONCE
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#if BOOST_WINAPI_PARTITION_APP_SYSTEM
|
||||
|
||||
#if !defined( BOOST_USE_WINDOWS_H )
|
||||
namespace boost { namespace winapi {
|
||||
typedef HANDLE_ HLOCAL_;
|
||||
}}
|
||||
|
||||
extern "C" {
|
||||
BOOST_SYMBOL_IMPORT boost::winapi::HLOCAL_ BOOST_WINAPI_WINAPI_CC
|
||||
LocalAlloc(
|
||||
boost::winapi::UINT_ uFlags,
|
||||
boost::winapi::SIZE_T_ uBytes);
|
||||
|
||||
BOOST_SYMBOL_IMPORT boost::winapi::HLOCAL_ BOOST_WINAPI_WINAPI_CC
|
||||
LocalReAlloc(
|
||||
boost::winapi::HLOCAL_ hMem,
|
||||
boost::winapi::SIZE_T_ uBytes,
|
||||
boost::winapi::UINT_ uFlags);
|
||||
|
||||
BOOST_SYMBOL_IMPORT boost::winapi::HLOCAL_ BOOST_WINAPI_WINAPI_CC LocalFree(boost::winapi::HLOCAL_ hMem);
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
namespace boost {
|
||||
namespace winapi {
|
||||
#if defined( BOOST_USE_WINDOWS_H )
|
||||
typedef ::HLOCAL HLOCAL_;
|
||||
#endif
|
||||
using ::LocalAlloc;
|
||||
using ::LocalReAlloc;
|
||||
using ::LocalFree;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM
|
||||
#endif // BOOST_WINAPI_LOCAL_MEMORY_HPP_INCLUDED_
|
||||
Loading…
Add table
Add a link
Reference in a new issue