X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..0aad3af033012c6cb19a24c04cf4989b41edae1e:/src/bindings/java/jmsg_file.h diff --git a/src/bindings/java/jmsg_file.h b/src/bindings/java/jmsg_file.h index dcd96e9c21..9b205986b3 100644 --- a/src/bindings/java/jmsg_file.h +++ b/src/bindings/java/jmsg_file.h @@ -1,18 +1,28 @@ -/* 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. */ #ifndef MSG_JFILE_H #define MSG_JFILE_H -#include + #include "simgrid/msg.h" +#include "simgrid/plugins/file_system.h" +#include 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);