44 static jmethodID getAbsolutePath_method;
52 return (jstring)env->CallObjectMethod(file,
53 getAbsolutePath_method);
A path name in the native file system character set.
Wrapper for a java.io.File object.
static gcc_nonnull_all void Initialise(JNIEnv *env)
static gcc_nonnull_all jstring getAbsolutePath(JNIEnv *env, jobject file)
gcc_pure static gcc_nonnull_all AllocatedPath ToAbsolutePath(JNIEnv *env, jobject file)
Invoke File.getAbsolutePath() and release the specified File reference.
Hold a local reference on a JNI object.