JNIEXPORT jlong JNICALL Java_es_gva_cit_jogr_OGRDataSource_getStyleTableNat (JNIEnv *env, jobject obj, jlong cPtr){ OGRDataSource *ds = (OGRDataSource *) 0 ; OGRStyleTable *styletable; long ptro_styletable=-1; ds = *(OGRDataSource **)&cPtr; if(ds!=NULL){ styletable = ds->GetStyleTable(); if(styletable!=NULL) ptro_styletable = (long)&(*styletable); } return ptro_styletable; }
OGRStyleTable *OGRDataSourceWithTransaction::GetStyleTable() { if( !m_poBaseDataSource ) return NULL; return m_poBaseDataSource->GetStyleTable(); }