File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
include/clang/Interpreter Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ namespace InterOp {
160160
161161 const std::string LookupLibrary (TInterp_t interp, const char *lib_name);
162162
163- bool LoadLibrary (TInterp_t interp, const char *lib_path);
163+ bool LoadLibrary (TInterp_t interp, const char *lib_path, bool lookup = true );
164164
165165 TCppScope_t InstantiateClassTemplate (TInterp_t interp, const char *tmpl_name);
166166
Original file line number Diff line number Diff line change @@ -1876,10 +1876,10 @@ namespace InterOp {
18761876 return I->getDynamicLibraryManager ()->lookupLibrary (lib_name);
18771877 }
18781878
1879- bool LoadLibrary (TInterp_t interp, const char *lib_name) {
1879+ bool LoadLibrary (TInterp_t interp, const char *lib_name, bool lookup ) {
18801880 auto * I = (cling::Interpreter*)interp;
18811881 cling::Interpreter::CompilationResult res =
1882- I->loadLibrary (lib_name, /* lookup */ true );
1882+ I->loadLibrary (lib_name, lookup);
18831883
18841884 return res == cling::Interpreter::kSuccess ;
18851885 }
You can’t perform that action at this time.
0 commit comments