Skip to content

Commit

Permalink
Clean.
Browse files Browse the repository at this point in the history
Signed-off-by: Bertrand Rix <bertrand.rix@artelys.com>
  • Loading branch information
obrix committed Nov 4, 2024
1 parent 123a502 commit 72b5454
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 221 deletions.
4 changes: 0 additions & 4 deletions cpp/powsybl-cpp/powsybl-cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,6 @@ void setJavaLibraryPath(const std::string& javaLibraryPath) {
PowsyblCaller::get()->callJava<>(::setJavaLibraryPath, (char*) javaLibraryPath.data());
}

void loadORtoolsLib(const std::string& libraryPath) {
PowsyblCaller::get()->callJava<>(::loadORtoolsLib, (char*) libraryPath.data());
}

void setConfigRead(bool configRead) {
PowsyblCaller::get()->callJava<>(::setConfigRead, configRead);
}
Expand Down
2 changes: 0 additions & 2 deletions cpp/powsybl-cpp/powsybl-cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,6 @@ void init(std::function <void(GraalVmGuard* guard, exception_handler* exc)> preJ

void setJavaLibraryPath(const std::string& javaLibraryPath);

void loadORtoolsLib(const std::string& libraryPath);

void setConfigRead(bool configRead);

void setDefaultLoadFlowProvider(const std::string& loadFlowProvider);
Expand Down
210 changes: 0 additions & 210 deletions data/rao/rao_results.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ public static void setJavaLibraryPath(IsolateThread thread, CCharPointer javaLib
doCatch(exceptionHandlerPtr, () -> System.setProperty("java.library.path", CTypeUtil.toString(javaLibraryPath)));
}

@CEntryPoint(name = "loadORtoolsLib")
public static void loadORtoolsLib(IsolateThread thread, CCharPointer libraryPath, ExceptionHandlerPointer exceptionHandlerPtr) {
doCatch(exceptionHandlerPtr, () -> System.load(CTypeUtil.toString(libraryPath)));
}

@CEntryPoint(name = "setConfigRead")
public static void setConfigRead(IsolateThread thread, boolean read, ExceptionHandlerPointer exceptionHandlerPtr) {
doCatch(exceptionHandlerPtr, () -> PyPowsyblConfiguration.setReadConfig(read));
Expand Down

0 comments on commit 72b5454

Please sign in to comment.