Skip to content
Snippets Groups Projects
Commit 1f8ccbb8 authored by vitawrap's avatar vitawrap
Browse files

JNI: Chargement + C

parent 1df7751e
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,11 @@ import javafx.stage.Stage;
import java.io.IOException;
public class ProjetApp extends Application {
static {
System.loadLibrary("scheduling");
}
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(ProjetApp.class.getResource("ProjetView.fxml"));
......
......@@ -11,4 +11,5 @@ JNIEXPORT void JNICALL Java_Scheduling_runSchedule
Instance i = read_instance(instance_file);
struct schedule_t *s = create_schedule(i, m, preempt, balanced);
save_schedule(s, schedule_file);
delete_schedule(s);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment