mirror of
https://github.com/boostorg/dll.git
synced 2026-01-24 05:52:08 +00:00
Bunch of minor improvements and polishing examples
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// Copyright 2014 Renato Tegon Forti, Antony Polukhin.
|
||||
// Copyright 2015 Antony Polukhin.
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
@@ -32,9 +33,9 @@ void load_and_execute(const boost::filesystem::path* libraries, std::size_t libs
|
||||
}
|
||||
//]
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
int main(int argc, char* argv[]) {
|
||||
/*<-*/ BOOST_ASSERT(argc >= 2); /*->*/
|
||||
// argv[1] contains path to our plugin library
|
||||
BOOST_ASSERT(argc >= 2);
|
||||
const std::size_t libs_count = 2;
|
||||
boost::filesystem::path libraries[libs_count] = {
|
||||
shared_lib_path(argv[1], L"library1"),
|
||||
|
||||
Reference in New Issue
Block a user