This PR strips `lib` prefixes and `_shared` suffixes from plugin names. It also moves most of the dynlib processing code to Lean to make such preprocessing more standard.
14 lines
342 B
C++
14 lines
342 B
C++
/*
|
|
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
Author: Mac Malone
|
|
*/
|
|
#pragma once
|
|
#include <string>
|
|
|
|
namespace lean {
|
|
LEAN_EXPORT void initialize_dynlib();
|
|
LEAN_EXPORT void load_dynlib(std::string path);
|
|
LEAN_EXPORT void load_plugin(std::string path);
|
|
}
|