return (jlong)wrapper;
return RequestWrapperNativeData(wrapper);
jlong Java_org_dvb_si_SIDatabaseRequest_DescriptorRequestTime(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jlong nativeTime, jlong nativeRequest, jshortArray tags) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database::Ptr db=NativeDvbsiDatabaseData(nativeDatabase);   RequestWrapper *wr=(RequestWrapper *)nativeRequest;      DvbSi::DataSource source;   wr->getDataSource(source);      DescriptorRequestWrapper *wrapper=new DescriptorRequestWrapper(obj);   DvbSi::DescriptorRequest *req=new DvbSi::DescriptorRequest(source, wrapper);   wrapper->req=req;      //TDT doesn't have any descriptor loop   if (typeid(*wr)==typeid(TOTRequestWrapper))      //TODO: honor tags      req->Add(((SI::TOT *)nativeTime)->descriptorLoop);         db->DispatchResult(req);   return (jlong)wrapper;}