Bug 1316079 - Mark JS::PropertyDescriptor as JS_PUBLIC_API to fix linking. r=luke
☠☠ backed out by 8c97b9c7000a ☠ ☠
authorGeorg Kilzer <leper@wildfiregames.com>
Tue, 08 Nov 2016 19:36:45 +0100
changeset 351799 b1c5df3c47a43ee29860f845238bcf0ebb355193
parent 351798 dc62051be9c5671300d1c5d45307ea40e79a2719
child 351800 0cf317263531dd81bc757ece521014e7e4a9d529
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1316079
milestone52.0a1
Bug 1316079 - Mark JS::PropertyDescriptor as JS_PUBLIC_API to fix linking. r=luke
js/src/jsapi.h
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -2499,17 +2499,17 @@ JS_DeepFreezeObject(JSContext* cx, JS::H
 extern JS_PUBLIC_API(bool)
 JS_FreezeObject(JSContext* cx, JS::Handle<JSObject*> obj);
 
 
 /*** Property descriptors ************************************************************************/
 
 namespace JS {
 
-struct PropertyDescriptor {
+struct JS_PUBLIC_API(PropertyDescriptor) {
     JSObject* obj;
     unsigned attrs;
     JSGetterOp getter;
     JSSetterOp setter;
     JS::Value value;
 
     PropertyDescriptor()
       : obj(nullptr), attrs(0), getter(nullptr), setter(nullptr), value(JS::UndefinedValue())