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

Function get_local_int

src/native.rs:583–587  ·  view source on GitHub ↗
(thread: jthread, depth: jint, slot: jint)

Source from the content-addressed store, hash-verified

581}
582
583unsafe fn get_local_int(thread: jthread, depth: jint, slot: jint) -> Result<jint, String> {
584 let mut val: jint = 0;
585 let local_res = (**JVMTI_ENV).GetLocalInt.unwrap()(JVMTI_ENV, thread, depth, slot, &mut val);
586 return util::result_or_jvmti_err(val, local_res);
587}
588
589struct MethodInfo {
590 mods: jint,

Callers 1

get_local_varFunction · 0.85

Calls 1

result_or_jvmti_errFunction · 0.85

Tested by

no test coverage detected