Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[java] Switch Java bindings to .cpp
[simgrid.git] / src / bindings / java / jmsg_file.h
index e2c0352..ea88343 100644 (file)
@@ -1,6 +1,6 @@
 /* Functions related to the java file API.                            */
 
-/* Copyright (c) 2012-2014. The SimGrid Team.
+/* Copyright (c) 2012-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -9,7 +9,9 @@
 #ifndef MSG_JFILE_H
 #define MSG_JFILE_H
 #include <jni.h>
-#include "msg/msg.h"
+#include "simgrid/msg.h"
+
+SG_BEGIN_DECL()
 
 jfieldID jfile_field_bind;
 
@@ -48,4 +50,6 @@ Java_org_simgrid_msg_File_write(JNIEnv*, jobject, jlong);
 JNIEXPORT void JNICALL
 Java_org_simgrid_msg_File_close(JNIEnv*, jobject);
 
+SG_END_DECL()
+
 #endif