A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_file.h
diff --git
a/src/bindings/java/jmsg_file.h
b/src/bindings/java/jmsg_file.h
index
2f554f6
..
2d92f7a
100644
(file)
--- a/
src/bindings/java/jmsg_file.h
+++ b/
src/bindings/java/jmsg_file.h
@@
-1,50
+1,55
@@
/* Functions related to the java file API. */
/* Functions related to the java file API. */
-/* Copyright (c) 2012. The SimGrid Team.
+
+/* Copyright (c) 2012-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* 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_JFILE_H
#define MSG_JFILE_H
#include <jni.h>
#ifndef MSG_JFILE_H
#define MSG_JFILE_H
#include <jni.h>
-#include "msg/msg.h"
+#include "simgrid/msg.h"
+
+SG_BEGIN_DECL()
jfieldID jfile_field_bind;
jfieldID jfile_field_bind;
-void jfile_bind(JNIEnv *env, jobject jfile, msg_file_t
stream
);
+void jfile_bind(JNIEnv *env, jobject jfile, msg_file_t
fd
);
msg_file_t jfile_get_native(JNIEnv *env, jobject jfile);
/**
msg_file_t jfile_get_native(JNIEnv *env, jobject jfile);
/**
- * Class
org_simgrid_msg_File
- * Method
nativeInit
- * Signature
()V
+ * Class org_simgrid_msg_File
+ * Method nativeInit
+ * Signature ()V
*/
JNIEXPORT void JNICALL
Java_org_simgrid_msg_File_nativeInit(JNIEnv*, jclass);
/**
*/
JNIEXPORT void JNICALL
Java_org_simgrid_msg_File_nativeInit(JNIEnv*, jclass);
/**
- * Class
org_simgrid_msg_File
- * Method
open
- * Signature
(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
+ * Class org_simgrid_msg_File
+ * Method open
+ * Signature (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL
*/
JNIEXPORT void JNICALL
-Java_org_simgrid_msg_File_open(JNIEnv*, jobject, jobject
, jobject, jobject
);
+Java_org_simgrid_msg_File_open(JNIEnv*, jobject, jobject);
/**
/**
- * Class
org_simgrid_msg_File
- * Method
read
+ * Class org_simgrid_msg_File
+ * Method read
*/
JNIEXPORT jlong JNICALL
*/
JNIEXPORT jlong JNICALL
-Java_org_simgrid_msg_File_read(JNIEnv*, jobject, jlong
, jlong
);
+Java_org_simgrid_msg_File_read(JNIEnv*, jobject, jlong);
/**
/**
- * Class
org_simgrid_msg_File
- * Method
write
+ * Class org_simgrid_msg_File
+ * Method write
*/
JNIEXPORT jlong JNICALL
*/
JNIEXPORT jlong JNICALL
-Java_org_simgrid_msg_File_write(JNIEnv*, jobject, jlong
, jlong
);
+Java_org_simgrid_msg_File_write(JNIEnv*, jobject, jlong);
/**
/**
- * Class
org_simgrid_msg_File
- * Method
close
+ * Class org_simgrid_msg_File
+ * Method close
*/
JNIEXPORT void JNICALL
Java_org_simgrid_msg_File_close(JNIEnv*, jobject);
*/
JNIEXPORT void JNICALL
Java_org_simgrid_msg_File_close(JNIEnv*, jobject);
+SG_END_DECL()
+
#endif
#endif