Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
woops, fix Java after removing an unimplemented function
[simgrid.git] / src / bindings / java / jmsg_host.h
index f1ea516..b3d8b81 100644 (file)
@@ -1,6 +1,6 @@
 /* Functions related to the java host instances.                            */
 
-/* Copyright (c) 2007-2014. The SimGrid Team.
+/* Copyright (c) 2007-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -12,6 +12,8 @@
 #include <jni.h>
 #include "simgrid/msg.h"
 
+SG_BEGIN_DECL()
+
 /**
  * This function returns a new java host instance.
  *
@@ -159,14 +161,6 @@ JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getSpeed
  */
 JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getCoreNumber
     (JNIEnv *, jobject);
-/*
- * Class               org_simgrid_msg_Host
- * Method              getLoad
- * Signature   ()I
- */
-JNIEXPORT jint JNICALL
-Java_org_simgrid_msg_Host_getLoad(JNIEnv * env,
-                                       jobject jhost);
 /*
  * Class        org_simgrid_msg_Host
  * Method       getProperty
@@ -224,3 +218,4 @@ Java_org_simgrid_msg_Host_setAsyncMailbox(JNIEnv * env, jclass cls_arg, jobject
 
 #endif                          /*!MSG_JHOST_H */
 
+SG_END_DECL()