X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9436b840852218b39dce22d6057b6f223168daa..023ea995504fd828b5132054d7d6f796c6a0d977:/src/bindings/java/jxbt_utilities.cpp diff --git a/src/bindings/java/jxbt_utilities.cpp b/src/bindings/java/jxbt_utilities.cpp index 128f0770a5..1853d1bcff 100644 --- a/src/bindings/java/jxbt_utilities.cpp +++ b/src/bindings/java/jxbt_utilities.cpp @@ -5,12 +5,12 @@ /* 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. */ +#include "jxbt_utilities.hpp" #include "xbt/sysdep.h" -#include "jxbt_utilities.h" -#include /* abort */ +#include /* abort */ -SG_BEGIN_DECL() +extern "C" { jclass jxbt_get_class(JNIEnv * env, const char *name) { @@ -211,5 +211,4 @@ void jxbt_throw_task_cancelled(JNIEnv* env, std::string details) { jxbt_throw_by_name(env, "org/simgrid/msg/TaskCancelledException", details); } - -SG_END_DECL() +}