StringEnumeration* U_EXPORT2 BreakIterator::getAvailableLocales(void) { ICULocaleService *service = getService(); if (service == NULL) { return NULL; } return service->getAvailableLocales(); }
// ------------------------------------- StringEnumeration* NumberFormat::getAvailableLocales(void) { ICULocaleService *service = getService(); if (service) { return service->getAvailableLocales(); } return NULL; // no way to return error condition }