mirror of
https://github.com/boostorg/dll.git
synced 2026-01-28 07:02:20 +00:00
24 lines
615 B
C++
24 lines
615 B
C++
// Copyright 2011-2012 Renato Tegon Forti
|
|
// Copyright 2014 Renato Tegon Forti, Antony Polukhin.
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt
|
|
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// For more information, see http://www.boost.org
|
|
|
|
|
|
//[plugcpp_my_plugin_static
|
|
|
|
#include <boost/plugin.hpp>
|
|
#include "../tutorial_common/plugin_api.hpp"
|
|
|
|
namespace my_namespace {
|
|
// Forward declaration
|
|
boost::shared_ptr<my_plugin_api> create_plugin();
|
|
} // namespace my_namespace
|
|
|
|
BOOST_PLUGIN_ALIAS(my_namespace::create_plugin, create_plugin)
|
|
//]
|
|
|