refcounting_plugin.hpp 480 B

1234567891011121314151617
  1. // Copyright 2014 Renato Tegon Forti, Antony Polukhin.
  2. // Copyright 2015-2019 Antony Polukhin.
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt
  6. // or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. //[plugcpp_my_plugin_refcounting_hpp
  8. #include "refcounting_api.hpp"
  9. #include <boost/dll/alias.hpp> // for BOOST_DLL_ALIAS
  10. my_refcounting_api* create(); // defined in plugin
  11. BOOST_DLL_ALIAS(create, create_refc_plugin)
  12. //]