X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8be7ea3f9e71cd563e91b6aba63f5c70f043fbd5..9d55e5f6c6e23b9bed8e786e28e47addea1028aa:/src/bindings/java/jmsg_process.h diff --git a/src/bindings/java/jmsg_process.h b/src/bindings/java/jmsg_process.h index b77e9869b2..7cd3c65c1c 100644 --- a/src/bindings/java/jmsg_process.h +++ b/src/bindings/java/jmsg_process.h @@ -1,18 +1,20 @@ /* Functions related to the java process instances. */ -/* Copyright (c) 2007-2013. 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_JPROCESS_H #define MSG_JPROCESS_H #include -#include +#include #include +SG_BEGIN_DECL(); + //Cached java fields extern jfieldID jprocess_field_Process_bind; extern jfieldID jprocess_field_Process_host; @@ -184,7 +186,7 @@ Java_org_simgrid_msg_Process_getProperty(JNIEnv *env, jobject jprocess, jobject * Method currentProcess * Signature ()Lorg/simgrid/msg/Process; */ -JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_currentProcess +JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_getCurrentProcess (JNIEnv *, jclass); /* * Class org_simgrid_msg_Process @@ -264,5 +266,6 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_setKillTime JNIEXPORT jint JNICALL Java_org_simgrid_msg_Process_getCount(JNIEnv * env, jclass cls); +SG_END_DECL(); #endif /* !MSG_JPROCESS_H */