summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch')
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch b/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch
new file mode 100644
index 000000000..6c87ff2a4
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch
@@ -0,0 +1,37 @@
1Patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1426865
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1426865]
5--- a/js/public/TypeDecls.h
6+++ b/js/public/TypeDecls.h
7@@ -21,22 +21,23 @@
8 #include <stdint.h>
9
10 #include "js-config.h"
11+#include "jstypes.h"
12
13 struct JSContext;
14-class JSFunction;
15+class JS_PUBLIC_API(JSFunction);
16 class JSObject;
17-class JSScript;
18-class JSString;
19-class JSAddonId;
20+class JS_PUBLIC_API(JSScript);
21+class JS_PUBLIC_API(JSString);
22+class JS_PUBLIC_API(JSAddonId);
23
24-struct jsid;
25+struct JS_PUBLIC_API(jsid);
26
27 namespace JS {
28
29 typedef unsigned char Latin1Char;
30
31-class Symbol;
32-class Value;
33+class JS_PUBLIC_API(Symbol);
34+class JS_PUBLIC_API(Value);
35 template <typename T> class Handle;
36 template <typename T> class MutableHandle;
37 template <typename T> class Rooted;