mirror of
https://github.com/boostorg/dll.git
synced 2026-07-21 13:13:30 +00:00
9cb8a366a7
The PR adds support `import std` and CI tests for the usage
19 lines
440 B
C++
19 lines
440 B
C++
// Copyright Antony Polukhin, 2025-2026.
|
|
// Copyright Fedor Osetrov, 2025-2026.
|
|
//
|
|
// 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)
|
|
|
|
module;
|
|
|
|
#include <memory>
|
|
|
|
#include <my_plugin_api.hpp>
|
|
|
|
export module sample_plugin;
|
|
|
|
namespace my_namespace {
|
|
export std::shared_ptr<my_plugin_api> create_plugin();
|
|
} // namespace my_namespace
|