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
fix lua builds
[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
dcd96e9
..
d4b509e
100644
(file)
--- a/
src/bindings/java/jmsg_file.h
+++ b/
src/bindings/java/jmsg_file.h
@@
-1,7
+1,6
@@
-/*
Functions related to the java file API.
*/
+/*
Java bindings of the file API.
*/
-/* Copyright (c) 2012-2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2012-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. */
/* 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. */
@@
-13,6
+12,15
@@
SG_BEGIN_DECL()
SG_BEGIN_DECL()
+/* Shut up some errors in eclipse online compiler. I wish such a pimple wouldn't be needed */
+#ifndef JNIEXPORT
+#define JNIEXPORT
+#endif
+#ifndef JNICALL
+#define JNICALL
+#endif
+/* end of eclipse-mandated pimple */
+
jfieldID jfile_field_bind;
void jfile_bind(JNIEnv *env, jobject jfile, msg_file_t fd);
jfieldID jfile_field_bind;
void jfile_bind(JNIEnv *env, jobject jfile, msg_file_t fd);