MCPcopy Create free account
hub / github.com/cretz/stackparam / get_params_as_object_array

Function get_params_as_object_array

src/native.rs:371–376  ·  view source on GitHub ↗
(jni_env: *mut JNIEnv,
                                     thread: jthread,
                                     max_depth: jint,
                                     index_until_start: usize)

Source from the content-addressed store, hash-verified

369}
370
371unsafe fn get_params_as_object_array(jni_env: *mut JNIEnv,
372 thread: jthread,
373 max_depth: jint,
374 index_until_start: usize) -> Result<jobjectArray, String> {
375 return params_to_object_array(jni_env, get_params(jni_env, thread, max_depth, index_until_start)?);
376}
377
378unsafe fn params_to_object_array(jni_env: *mut JNIEnv, methods: Vec<MethodInfo>) -> Result<jobjectArray, String> {
379 let obj_str = CString::new("java/lang/Object").unwrap();

Calls 2

params_to_object_arrayFunction · 0.85
get_paramsFunction · 0.85

Tested by

no test coverage detected