Skip to content

Commit

Permalink
Remove a confusing comment. The next example shows the proper usage o…
Browse files Browse the repository at this point in the history
…f BOOST_DLL_ALIAS

Fixes #54
  • Loading branch information
apolukhin committed Dec 22, 2024
1 parent fdb48ba commit 96ee80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/tutorial1/my_plugin_sum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class my_plugin_sum : public my_plugin_api {
}
};

// Exporting `my_namespace::plugin` variable with alias name `plugin`
// (Has the same effect as `BOOST_DLL_ALIAS(my_namespace::plugin, plugin)`)
// Exporting `my_namespace::plugin` variable with name `plugin`
extern "C" BOOST_SYMBOL_EXPORT my_plugin_sum plugin;
my_plugin_sum plugin;

} // namespace my_namespace


//]

0 comments on commit 96ee80d

Please sign in to comment.