i18n_error_code_e i18n_error;
UErrorCode icu_error = U_ZERO_ERROR;
- length = uscript_getScriptExtensions(codepoint, (UScriptCode*)scripts, capacity, &icu_error);
+ *length = uscript_getScriptExtensions(codepoint, (UScriptCode*)scripts, capacity, &icu_error);
ERR_MAPPING(icu_error, i18n_error);
I18N_ERR(i18n_error);
i18n_error_code_e i18n_error;
UErrorCode icu_error = U_ZERO_ERROR;
- length = uscript_getSampleString(script, sample, capacity, &icu_error);
+ *length = uscript_getSampleString(script, sample, capacity, &icu_error);
ERR_MAPPING(icu_error, i18n_error);
I18N_ERR(i18n_error);