diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-12-13 20:55:05 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-12-17 06:25:25 -0500 |
commit | cba3f6142704ce228aaf54b5c98c6ef5b3f871be (patch) | |
tree | 1c8f2f34c67161b391456f6f3f3b523adc03283e /js/src/jsexn.h | |
parent | 4f88fc8513162fce0f1d39c099a994b91934ce7c (diff) | |
download | UXP-cba3f6142704ce228aaf54b5c98c6ef5b3f871be.tar UXP-cba3f6142704ce228aaf54b5c98c6ef5b3f871be.tar.gz UXP-cba3f6142704ce228aaf54b5c98c6ef5b3f871be.tar.lz UXP-cba3f6142704ce228aaf54b5c98c6ef5b3f871be.tar.xz UXP-cba3f6142704ce228aaf54b5c98c6ef5b3f871be.zip |
Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError.
Tag #1287
Diffstat (limited to 'js/src/jsexn.h')
-rw-r--r-- | js/src/jsexn.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jsexn.h b/js/src/jsexn.h index 00120d89c..ee69e3c50 100644 --- a/js/src/jsexn.h +++ b/js/src/jsexn.h @@ -131,6 +131,11 @@ class AutoAssertNoPendingException extern const char* ValueToSourceForError(JSContext* cx, HandleValue val, JSAutoByteString& bytes); +bool +GetInternalError(JSContext* cx, unsigned errorNumber, MutableHandleValue error); +bool +GetTypeError(JSContext* cx, unsigned errorNumber, MutableHandleValue error); + } // namespace js #endif /* jsexn_h */ |