abi_test.cpp 502 B

123456789101112131415161718192021222324252627
  1. // (C) Copyright John Maddock 2003.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for the most recent version.
  6. #include "abi_test.hpp"
  7. char abi_test::virtual_one()const
  8. {
  9. return c;
  10. }
  11. boost::int32_t abi_test::virtual_two()const
  12. {
  13. return i;
  14. }
  15. abi_test::abi_test()
  16. {
  17. c = 0x12;
  18. i = 0x5678;
  19. }