X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3913bb7b7d28a6c8f383b7973f72a4fc7a1f4f01..1037987174e34ec2ea483da79d651c7e2e16e83e:/src/java/jxbt_utilities.h?ds=inline diff --git a/src/java/jxbt_utilities.h b/src/java/jxbt_utilities.h index 97e5eb4a13..570645bab1 100644 --- a/src/java/jxbt_utilities.h +++ b/src/java/jxbt_utilities.h @@ -27,6 +27,10 @@ jclass jxbt_get_class(JNIEnv* env, const char*name); (it's ok to to pass a NULL class: it's a noop) */ jmethodID jxbt_get_jmethod(JNIEnv* env, jclass class, const char *name,const char *signature); + +/* Like the jxbt_get_class() but get a static method */ +jmethodID jxbt_get_static_jmethod(JNIEnv* env, jclass cls, + const char *name,const char *signature); /* Search a field in a class and throw an exception if not found (it's ok to to pass a NULL class: it's a noop) */ @@ -39,6 +43,10 @@ jfieldID jxbt_get_jfield(JNIEnv* env, jclass class, jmethodID jxbt_get_smethod(JNIEnv* env, const char *classname, const char *name,const char *signature); +/* Like the jxbt_get_smethod() but get a static method */ +jmethodID jxbt_get_static_smethod(JNIEnv* env, const char *classname, + const char *name,const char *signature); + /* Search a field in a class and throw an exception if not found (it's ok to to pass a NULL class: it's a noop) */ jfieldID jxbt_get_sfield(JNIEnv* env, const char *classname,