#include "src/simix/smx_private.hpp"
-#include "jmsg_process.h"
+#include "jmsg.hpp"
#include "jmsg_as.hpp"
#include "jmsg_host.h"
+#include "jmsg_process.h"
#include "jmsg_storage.h"
#include "jmsg_task.h"
#include "jxbt_utilities.hpp"
-#include "jmsg.hpp"
#include "JavaContext.hpp"
#endif
/* end of eclipse-mandated pimple */
-SG_BEGIN_DECL()
+extern "C" {
int JAVA_HOST_LEVEL = -1;
JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_energyInit() {
sg_host_energy_plugin_init();
}
-
-SG_END_DECL()
+} // extern "C"
/** Run a Java org.simgrid.msg.Process
*