/* Functions related to the java process instances. */
-/* Copyright (c) 2007-2014. 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
#define MSG_JPROCESS_H
#include <jni.h>
-#include <msg/msg.h>
+#include <simgrid/msg.h>
#include <simgrid/simix.h>
+SG_BEGIN_DECL();
+
//Cached java fields
extern jfieldID jprocess_field_Process_bind;
extern jfieldID jprocess_field_Process_host;
* 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
JNIEXPORT jint JNICALL
Java_org_simgrid_msg_Process_getCount(JNIEnv * env, jclass cls);
+SG_END_DECL();
#endif /* !MSG_JPROCESS_H */