- if (status == NULL || U_FAILURE(*status)) {
- return 0;
- }
- UnicodeString result = ((PluralRules*)plrules)->select(number);
- return result.extract(keyword, capacity, *status);
+ return uplrules_select(plrules, number, keyword, capacity, status);