X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2e9105988280d1e88b5b496d6e2eed4c8d541883..9d55e5f6c6e23b9bed8e786e28e47addea1028aa:/src/bindings/java/jmsg_rngstream.h diff --git a/src/bindings/java/jmsg_rngstream.h b/src/bindings/java/jmsg_rngstream.h index eb5e37ec9a..f3827c9cd0 100644 --- a/src/bindings/java/jmsg_rngstream.h +++ b/src/bindings/java/jmsg_rngstream.h @@ -1,15 +1,18 @@ /* 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 @@ -19,7 +22,7 @@ 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); +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); @@ -48,4 +51,6 @@ 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); +SG_END_DECL() + #endif /* MSG_RNGSTREAM_H */