X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ebcb91551aa801d2353d854ffe9c1d1bf72d7db9..a96adb51dabc0c759af11e60c770355f22a54ef3:/src/bindings/java/jxbt_utilities.cpp diff --git a/src/bindings/java/jxbt_utilities.cpp b/src/bindings/java/jxbt_utilities.cpp index a5e6ed1ab7..5a285b3337 100644 --- a/src/bindings/java/jxbt_utilities.cpp +++ b/src/bindings/java/jxbt_utilities.cpp @@ -6,11 +6,11 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "xbt/sysdep.h" -#include "jxbt_utilities.h" +#include "jxbt_utilities.hpp" #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() +}