jshortArray Java_org_dvb_si_SINetworkImpl_descriptorTags(JNIEnv* env, jobject obj, jlong nativeData) { std::list<DvbSi::NIT> *list=(std::list<DvbSi::NIT> *)nativeData;
jshortArray Java_org_dvb_si_SINetworkImpl_descriptorTags(JNIEnv* env, jobject obj, jobject nativeData) { std::list<DvbSi::NIT> *list=StdListDvbsiNitNativeData(nativeData);
jshortArray Java_org_dvb_si_SINetworkImpl_descriptorTags(JNIEnv* env, jobject obj, jlong nativeData) {   std::list<DvbSi::NIT> *list=(std::list<DvbSi::NIT> *)nativeData;   int count=0;   for (std::list<DvbSi::NIT>::iterator stlit=list->begin(); stlit != list->end(); ++stlit) {      DvbSi::NIT nit(*stlit);      count+=nit.commonDescriptors.getNumberOfDescriptors();   }      jshortArray javaAr=env->NewShortArray(count);   jshort *ar=env->GetShortArrayElements(javaAr, 0);   jshort *current=ar;      for (std::list<DvbSi::NIT>::iterator stlit=list->begin(); stlit != list->end(); ++stlit) {      DvbSi::NIT nit(*stlit);      current+=nit.commonDescriptors.getDescriptorTags<jshort>(current);   }      env->ReleaseShortArrayElements(javaAr, ar, 0);   return javaAr;}