-
#include <jni.h>
#include "Sample.h"
#include <stdio.h>
{
const char *str;
str = (*env)->GetStringUTFChars(env, jstr, NULL);
- if (str == NULL) return; // out of memory error thrown
- trace_user_generic_string(str);
+ if (str == NULL)
+ return; /* out of memory error thrown */
+ trace_user_generic_string(str);
(*env)->ReleaseStringUTFChars(env, jstr, str);
}
-
-
#include <jni.h>
#include "Sample.h"
#include <stdio.h>
{
const char *str;
str = (*env)->GetStringUTFChars(env, jstr, NULL);
- if (str == NULL) return; // out of memory error thrown
- trace_user_generic_thread_brand(str);
+ if (str == NULL)
+ return; /* out of memory error thrown */
+ trace_user_generic_thread_brand(str);
(*env)->ReleaseStringUTFChars(env, jstr, str);
}
-