29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
280M_API M_bool
M_io_jni_new_object(jobject *rv,
char *error,
size_t error_len, JNIEnv *env,
const char *method,
size_t argc, ...);
298M_API M_bool
M_io_jni_call_jvoid(
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
319M_API M_bool
M_io_jni_call_jobject(jobject *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
326M_API M_bool
M_io_jni_call_jbyte(jbyte *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
333M_API M_bool
M_io_jni_call_jboolean(jboolean *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
340M_API M_bool
M_io_jni_call_jchar(jchar *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
347M_API M_bool
M_io_jni_call_jint(jint *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
354M_API M_bool
M_io_jni_call_jlong(jlong *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
361M_API M_bool
M_io_jni_call_jfloat(jfloat *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
368M_API M_bool
M_io_jni_call_jdouble(jdouble *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
375M_API M_bool
M_io_jni_call_jobjectArray(jobjectArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
382M_API M_bool
M_io_jni_call_jbyteArray(jbyteArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
389M_API M_bool
M_io_jni_call_jbooleanArray(jbooleanArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
396M_API M_bool
M_io_jni_call_jcharArray(jcharArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
403M_API M_bool
M_io_jni_call_jintArray(jintArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
410M_API M_bool
M_io_jni_call_jlongArray(jlongArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
417M_API M_bool
M_io_jni_call_jfloatArray(jfloatArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
424M_API M_bool
M_io_jni_call_jdoubleArray(jdoubleArray *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *method,
size_t argc, ...);
471M_API M_bool
M_io_jni_call_jintField(jint *rv,
char *error,
size_t error_len, JNIEnv *env, jobject classobj,
const char *field);
struct M_buf M_buf_t
Definition: m_buf.h:77
struct M_hash_dict M_hash_dict_t
Definition: m_hash_dict.h:52
M_bool M_io_jni_call_jdoubleField(jdouble *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
jbyteArray M_io_jni_puchar_to_jbyteArray(JNIEnv *env, const unsigned char *data, size_t data_size)
void M_io_jni_deletelocalref(JNIEnv *env, jobject *ref)
M_bool M_io_jni_call_jint(jint *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jbooleanArray(jbooleanArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jvoid(char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jbyte(jbyte *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_init(JavaVM *Jvm)
M_bool M_io_jni_call_jlong(jlong *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jobjectField(jobject *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
M_bool M_io_jni_call_jcharArray(jcharArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jdoubleArray(jdoubleArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jbooleanField(jboolean *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
void M_io_jni_debug(const char *fmt,...)
M_bool M_io_jni_call_jintArray(jintArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
jobject M_io_jni_create_globalref(JNIEnv *env, jobject ref)
M_bool M_io_jni_call_jfloatField(jfloat *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
unsigned char * M_io_jni_jbyteArray_to_puchar(JNIEnv *env, jbyteArray in, size_t max_len, size_t *size_out)
jstring M_io_jni_pchar_to_jstring(JNIEnv *env, const char *str)
M_bool M_io_jni_call_jbyteField(jbyte *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
M_bool M_io_jni_call_jbyteArray(jbyteArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jcharField(jchar *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
size_t M_io_jni_array_length(JNIEnv *env, jobject arr)
M_bool M_io_jni_call_jlongField(jlong *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
M_bool M_io_jni_call_jfloat(jfloat *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jlongArray(jlongArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jfloatArray(jfloatArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_hash_dict_t * M_io_jni_jhashmap_to_mhashdict(JNIEnv *env, jobject map)
M_bool M_io_jni_new_object(jobject *rv, char *error, size_t error_len, JNIEnv *env, const char *method, size_t argc,...)
M_bool M_io_jni_call_jboolean(jboolean *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jobject(jobject *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_android_init(jobject app_context)
char * M_io_jni_jstring_to_pchar(JNIEnv *env, jstring str)
size_t M_io_jni_jbyteArray_to_buf(JNIEnv *env, jbyteArray in, size_t max_len, M_buf_t *out)
M_bool M_io_jni_call_jdouble(jdouble *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
M_bool M_io_jni_call_jobjectArray(jobjectArray *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
JNIEnv * M_io_jni_getenv(void)
M_bool M_io_jni_call_jintField(jint *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *field)
void M_io_jni_delete_globalref(JNIEnv *env, jobject *ref)
void M_io_jni_jbyteArray_zeroize(JNIEnv *env, jbyteArray arr)
jclass M_io_jni_find_class(JNIEnv *env, const char *path)
jobject M_io_jni_get_android_app_context(void)
jobject M_io_jni_mhashdict_to_jhashmap(JNIEnv *env, M_hash_dict_t *dict)
M_bool M_io_jni_call_jchar(jchar *rv, char *error, size_t error_len, JNIEnv *env, jobject classobj, const char *method, size_t argc,...)
jobject M_io_jni_array_element(JNIEnv *env, jobject arr, size_t idx)