1 /* 2 * Copyright Andrey Semashev 2018. 3 * Distributed under the Boost Software License, Version 1.0. 4 * (See accompanying file LICENSE_1_0.txt or copy at 5 * http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 /*! 8 * \file heap_memory_abi.cpp 9 * \author Andrey Semashev 10 * \date 10.03.2018 11 * 12 * \brief This file contains ABI test for heap_memory.hpp 13 */ 14 15 #include <boost/winapi/heap_memory.hpp> 16 #include <windows.h> 17 #include "abi_test_tools.hpp" 18 main()19int main() 20 { 21 #if BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM 22 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetProcessHeaps); 23 #endif 24 25 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetProcessHeap); 26 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapAlloc); 27 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapFree); 28 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapReAlloc); 29 30 #if BOOST_WINAPI_PARTITION_APP_SYSTEM 31 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapCreate); 32 BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapDestroy); 33 #endif 34 35 return boost::report_errors(); 36 } 37