X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a96adb51dabc0c759af11e60c770355f22a54ef3..5cfd78ee13dfd9c06ca703c402d2d8e62cbfec3f:/src/bindings/java/jmsg_as.hpp?ds=sidebyside diff --git a/src/bindings/java/jmsg_as.hpp b/src/bindings/java/jmsg_as.hpp index f79ef9be2d..e1034ef1fe 100644 --- a/src/bindings/java/jmsg_as.hpp +++ b/src/bindings/java/jmsg_as.hpp @@ -1,14 +1,14 @@ /* Functions related to the java As instances. */ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. 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. */ #ifndef JMSG_AS_HPP #define JMSG_AS_HPP -#include #include "simgrid/msg.h" +#include extern "C" { @@ -27,10 +27,10 @@ void jnetzone_unref(JNIEnv* env, jobject jnetzone); void jnetzone_bind(jobject jas, msg_netzone_t as, JNIEnv* env); simgrid::s4u::NetZone* jnetzone_get_native(JNIEnv* env, jobject jnetzone); -JNIEXPORT void JNICALL Java_org_simgrid_msg_As_nativeInit(JNIEnv *env, jclass cls); -JNIEXPORT jobject JNICALL Java_org_simgrid_msg_As_getName(JNIEnv * env, jobject jas); +JNIEXPORT void JNICALL Java_org_simgrid_msg_As_nativeInit(JNIEnv* env, jclass cls); +JNIEXPORT jobject JNICALL Java_org_simgrid_msg_As_getName(JNIEnv* env, jobject jas); JNIEXPORT jobjectArray JNICALL Java_org_simgrid_msg_As_getSons(JNIEnv* env, jobject jnetzone); -JNIEXPORT jobject JNICALL Java_org_simgrid_msg_As_getProperty(JNIEnv *env, jobject jhost, jobject jname); +JNIEXPORT jobject JNICALL Java_org_simgrid_msg_As_getProperty(JNIEnv* env, jobject jhost, jobject jname); JNIEXPORT jobjectArray JNICALL Java_org_simgrid_msg_As_getHosts(JNIEnv* env, jobject jnetzone); } #endif