heap_memory_abi.cpp 998 B

123456789101112131415161718192021222324252627282930313233343536
  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. #include <boost/winapi/heap_memory.hpp>
  15. #include <windows.h>
  16. #include "abi_test_tools.hpp"
  17. int main()
  18. {
  19. #if BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM
  20. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetProcessHeaps);
  21. #endif
  22. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetProcessHeap);
  23. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapAlloc);
  24. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapFree);
  25. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapReAlloc);
  26. #if BOOST_WINAPI_PARTITION_APP_SYSTEM
  27. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapCreate);
  28. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(HeapDestroy);
  29. #endif
  30. return boost::report_errors();
  31. }