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
/
jxbt_utilities.cpp
diff --git
a/src/bindings/java/jxbt_utilities.cpp
b/src/bindings/java/jxbt_utilities.cpp
index
d6fe7e7
..
ba5d746
100644
(file)
--- a/
src/bindings/java/jxbt_utilities.cpp
+++ b/
src/bindings/java/jxbt_utilities.cpp
@@
-1,17
+1,17
@@
/* Various JNI helper functions */
/* Various JNI helper functions */
-/* Copyright (c) 2007-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2007-2017. 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. */
-#include <stdlib.h> /* abort */
-#include "xbt/misc.h"
#include "xbt/sysdep.h"
#include "xbt/sysdep.h"
-#include "xbt/str.h"
#include "jxbt_utilities.h"
#include "jxbt_utilities.h"
+#include <stdlib.h> /* abort */
+
+SG_BEGIN_DECL()
+
jclass jxbt_get_class(JNIEnv * env, const char *name)
{
jclass cls = env->FindClass(name);
jclass jxbt_get_class(JNIEnv * env, const char *name)
{
jclass cls = env->FindClass(name);
@@
-236,3
+236,5
@@
void jxbt_throw_task_cancelled(JNIEnv * env, char *details)
{
jxbt_throw_by_name(env, "org/simgrid/msg/TaskCancelledException", details);
}
{
jxbt_throw_by_name(env, "org/simgrid/msg/TaskCancelledException", details);
}
+
+SG_END_DECL()