jscntxt: js_GetErrorMessage: match header declaration
This commit is contained in:
parent
ba7f53c261
commit
67325a144e
|
@ -1220,7 +1220,7 @@ JSErrorFormatString js_ErrorFormatString[JSErr_Limit] = {
|
||||||
#undef MSG_DEF
|
#undef MSG_DEF
|
||||||
};
|
};
|
||||||
|
|
||||||
const JSErrorFormatString *
|
JS_PUBLIC_API(const JSErrorFormatString *)
|
||||||
js_GetErrorMessage(void *userRef, const char *locale, const uintN errorNumber)
|
js_GetErrorMessage(void *userRef, const char *locale, const uintN errorNumber)
|
||||||
{
|
{
|
||||||
if ((errorNumber > 0) && (errorNumber < JSErr_Limit))
|
if ((errorNumber > 0) && (errorNumber < JSErr_Limit))
|
||||||
|
|
Loading…
Reference in New Issue