diff options
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r-- | js/src/jsapi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h index 99100620a..d00562588 100644 --- a/js/src/jsapi.h +++ b/js/src/jsapi.h @@ -5438,15 +5438,15 @@ class JSErrorNotes ~JSErrorNotes(); // Add an note to the given position. - bool addNoteASCII(JSContext* cx, + bool addNoteASCII(js::ExclusiveContext* cx, const char* filename, unsigned lineno, unsigned column, JSErrorCallback errorCallback, void* userRef, const unsigned errorNumber, ...); - bool addNoteLatin1(JSContext* cx, + bool addNoteLatin1(js::ExclusiveContext* cx, const char* filename, unsigned lineno, unsigned column, JSErrorCallback errorCallback, void* userRef, const unsigned errorNumber, ...); - bool addNoteUTF8(JSContext* cx, + bool addNoteUTF8(js::ExclusiveContext* cx, const char* filename, unsigned lineno, unsigned column, JSErrorCallback errorCallback, void* userRef, const unsigned errorNumber, ...); |