X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de03ecc4e630732984a0673512a5d15fd75e270..9d55e5f6c6e23b9bed8e786e28e47addea1028aa:/src/bindings/java/jmsg_synchro.h diff --git a/src/bindings/java/jmsg_synchro.h b/src/bindings/java/jmsg_synchro.h index a42e9b6dd3..6d66626810 100644 --- a/src/bindings/java/jmsg_synchro.h +++ b/src/bindings/java/jmsg_synchro.h @@ -1,6 +1,6 @@ /* Functions related to the java process instances. */ -/* 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 @@ -10,9 +10,11 @@ #define MSG_JSYNCHRO_H #include -#include +#include #include +SG_BEGIN_DECL() + JNIEXPORT void JNICALL Java_org_simgrid_msg_Mutex_nativeInit(JNIEnv *env, jclass cls); @@ -26,7 +28,8 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Mutex_release(JNIEnv * env, jobject obj); JNIEXPORT void JNICALL -Java_org_simgrid_msg_Mutex_exit(JNIEnv * env, jobject obj); +Java_org_simgrid_msg_Mutex_nativeFinalize(JNIEnv * env, jobject obj); + JNIEXPORT void JNICALL Java_org_simgrid_msg_Semaphore_nativeInit(JNIEnv *env, jclass cls); @@ -39,5 +42,8 @@ Java_org_simgrid_msg_Semaphore_release(JNIEnv * env, jobject obj); JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Semaphore_wouldBlock(JNIEnv * env, jobject obj); JNIEXPORT void JNICALL -Java_org_simgrid_msg_Mutex_destroy(JNIEnv * env, jobject obj); +Java_org_simgrid_msg_Semaphore_nativeFinalize(JNIEnv * env, jobject obj); + +SG_END_DECL() + #endif /* !MSG_JPROCESS_H */