2
0
mirror of https://github.com/boostorg/dll.git synced 2026-01-30 07:43:02 +00:00

Polishing examples and docs

This commit is contained in:
Antony Polukhin
2014-09-29 20:41:35 +04:00
parent 90c3903acf
commit 1bdaf08e01
3 changed files with 12 additions and 13 deletions

View File

@@ -5,7 +5,6 @@
// or copy at http://www.boost.org/LICENSE_1_0.txt)
//[callplugcpp_tutorial8
#include "../shared_lib_path.hpp"
#include <iostream>
#include "refcounting_api.hpp"
@@ -16,7 +15,7 @@ int main(int argc, char* argv[]) {
BOOST_ASSERT(argc >= 2);
//->
boost::shared_ptr<my_refcounting_api> plugin = get_plugin(
shared_lib_path(argv[1], L"refcounting_plugin"),
boost::filesystem::path(argv[1]) / "refcounting_plugin",
"create_refc_plugin"
);