r##"#[no_mangle] pub extern "C" fn Java_org_example_NavigationService_do_1subscribeOnUpdates( env: *mut JNIEnv, _: jclass, this: jlong, session: jlong, ) -> () { let session: *mut RefCell = unsafe { jlong_to_pointer::>(session) .as_mut() .unwrap() }; let session: Rc> = unsafe { Rc::from_raw(session) }; let tmp: Rc> = session; let session: Rc> = tmp.clone(); ::std::mem::forget(tmp); let this: &mut RefCell = unsafe { jlong_to_pointer::>(this) .as_mut() .unwrap() }; let mut this: &RefCell = this; let mut this: RefMut = >::swig_from(this, env); let mut this: &mut NavigationService = this.swig_deref_mut(); let mut ret: () = subscribeOnUpdates(this, session); ret }"##;