From: unknown Date: Thu, 16 Feb 2012 10:08:54 +0000 (+0100) Subject: Remove deprecated function getErrCode. X-Git-Tag: v3_9_90~569^2~19^2~143 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8bf3d06d49fcd7061f0a08dd4bfed74a7eeae7d0 Remove deprecated function getErrCode. --- diff --git a/org/simgrid/msg/Msg.java b/org/simgrid/msg/Msg.java index 883dbf5295..c9dcc48cdf 100644 --- a/org/simgrid/msg/Msg.java +++ b/org/simgrid/msg/Msg.java @@ -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; diff --git a/src/jmsg.c b/src/jmsg.c index fcc8f19857..d359c1d24f 100644 --- a/src/jmsg.c +++ b/src/jmsg.c @@ -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) {