mirror of
https://github.com/boostorg/dll.git
synced 2026-02-19 02:12:23 +00:00
More mature solution for #4
This commit is contained in:
@@ -49,6 +49,6 @@ int c_variable_name = 1;
|
||||
namespace my_namespace {
|
||||
std::string cpp_function_name(const std::string& param) {
|
||||
return param + " Hello from lib!";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@ std::size_t plugins_collector::count() const {
|
||||
|
||||
//[plugcpp_load_all
|
||||
int main(int argc, char* argv[]) {
|
||||
BOOST_ASSERT(argc == 2);
|
||||
plugins_collector plugins(argv[1]);
|
||||
|
||||
std::cout << "\n\nUnique plugins " << plugins.count() << ":\n";
|
||||
|
||||
Reference in New Issue
Block a user