Bug 1100923 - Make onPromiseSettled() declaration JS_PUBLIC_API. r=fitzgen
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 18 Nov 2014 15:02:24 -0800
changeset 216364 803d228d69fe1fd4ac9af365013817e2be5cfadb
parent 216363 c14cd1b976efbd6af8333b9534a755cf7d61b1d5
child 216365 df60c0297aa294388c5a26f652b23d98cc9b85d7
push id27849
push usercbook@mozilla.com
push dateWed, 19 Nov 2014 12:36:08 +0000
treeherdermozilla-central@07ad59382922 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1100923
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1100923 - Make onPromiseSettled() declaration JS_PUBLIC_API. r=fitzgen
js/public/Debug.h
--- a/js/public/Debug.h
+++ b/js/public/Debug.h
@@ -284,15 +284,16 @@ onNewPromise(JSContext *cx, HandleObject
 // promise has settled (ie, it has either been fulfilled or rejected). Note that
 // this is *not* equivalent to the promise resolution (ie, the promise's fate
 // getting locked in) because you can resolve a promise with another pending
 // promise, in which case neither promise has settled yet.
 //
 // It is Gecko's responsibility to ensure that this is never called on the same
 // promise more than once (because a promise can only make the transition from
 // unsettled to settled once).
-void onPromiseSettled(JSContext *cx, HandleObject promise);
+JS_PUBLIC_API(void)
+onPromiseSettled(JSContext *cx, HandleObject promise);
 
 } // namespace dbg
 } // namespace JS
 
 
 #endif /* js_Debug_h */