Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove deprecated function getErrCode.
authorunknown <pierre@.(none)>
Thu, 16 Feb 2012 10:08:54 +0000 (11:08 +0100)
committerunknown <pierre@.(none)>
Thu, 16 Feb 2012 10:11:07 +0000 (11:11 +0100)
org/simgrid/msg/Msg.java
src/jmsg.c

index 883dbf5..c9dcc48 100644 (file)
@@ -25,12 +25,6 @@ public final class Msg {
                }
        }
 
-       /* FIXME: kill these C crufts */
-    /** Returns the last error code of the simulation
-     * @return
-     */
-       public final static native int getErrCode();
-
        /** Everything is right. Keep on going the way ! */
        public static final int SUCCESS = 0;
 
index fcc8f19..d359c1d 100644 (file)
@@ -757,13 +757,6 @@ Java_org_simgrid_msg_MsgNative_taskExecute(JNIEnv * env, jclass cls,
  * Unsortable functions                                                        *
  ***************************************************************************************/
 
-
-JNIEXPORT jint JNICALL
-Java_org_simgrid_msg_Msg_getErrCode(JNIEnv * env, jclass cls)
-{
-  return (jint) MSG_get_errno();
-}
-
 JNIEXPORT jdouble JNICALL
 Java_org_simgrid_msg_Msg_getClock(JNIEnv * env, jclass cls)
 {