X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e0188e2a2598ce57a4d21a3d7eb5f303aecaf0dd..591d1f1de204ef7303e6d02c88ae4c7f59c564de:/src/bindings/java/jmsg_rngstream.h diff --git a/src/bindings/java/jmsg_rngstream.h b/src/bindings/java/jmsg_rngstream.h index eb5e37ec9a..b7c28c4a39 100644 --- a/src/bindings/java/jmsg_rngstream.h +++ b/src/bindings/java/jmsg_rngstream.h @@ -1,51 +1,44 @@ /* Functions related to the RngStream Java port */ -/* Copyright (c) 2007-2012. 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 - * under the terms of the license (GNU LGPL) which comes with this package. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef MSG_RNGSTREAM_H #define MSG_RNGSTREAM_H #include #include +SG_BEGIN_DECL() + RngStream jrngstream_to_native(JNIEnv *env, jobject jrngstream); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_nativeInit(JNIEnv *env, jclass cls); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_nativeInit(JNIEnv *env, jclass cls); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_create(JNIEnv *env, jobject jrngstream, jstring name); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_create(JNIEnv *env, jobject jrngstream, jstring name); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_destroy(JNIEnv *env, jobject jrngstream); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_nativeFinalize(JNIEnv *env, jobject jrngstream); JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_RngStream_setPackageSeed(JNIEnv *env, jobject jrngstream, jintArray seed); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_resetStart(JNIEnv *env, jobject jrngstream); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_resetStart(JNIEnv *env, jobject jrngstream); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_resetStartSubstream(JNIEnv *env, jobject jrngstream); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_resetStartSubstream(JNIEnv *env, jobject jrngstream); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_resetNextSubstream(JNIEnv *env, jobject jrngstream); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_resetNextSubstream(JNIEnv *env, jobject jrngstream); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_setAntithetic(JNIEnv *env, jobject jrngstream, jboolean ja); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_setAntithetic(JNIEnv *env, jobject jrngstream, jboolean ja); -JNIEXPORT jboolean JNICALL -Java_org_simgrid_msg_RngStream_setSeed(JNIEnv *env, jobject jrngstream, jintArray jseed); +JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_RngStream_setSeed(JNIEnv *env, jobject jrngstream, jintArray jseed); -JNIEXPORT void JNICALL -Java_org_simgrid_msg_RngStream_advanceState(JNIEnv *env, jobject jrngstream, jint e, jint g); +JNIEXPORT void JNICALL Java_org_simgrid_msg_RngStream_advanceState(JNIEnv *env, jobject jrngstream, jint e, jint g); -JNIEXPORT jdouble JNICALL -Java_org_simgrid_msg_RngStream_randU01(JNIEnv *env, jobject jrngstream); +JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_RngStream_randU01(JNIEnv *env, jobject jrngstream); -JNIEXPORT jint JNICALL -Java_org_simgrid_msg_RngStream_randInt(JNIEnv *env, jobject jrngstream, jint i, jint j); +JNIEXPORT jint JNICALL Java_org_simgrid_msg_RngStream_randInt(JNIEnv *env, jobject jrngstream, jint i, jint j); +SG_END_DECL() #endif /* MSG_RNGSTREAM_H */