blob: ca37ca72ceffa3c0f95c5b4674cadc78b3adf971 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From ccdd47cee610cb33fa5f67f856a68f5e411c79d5 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sun, 31 Oct 2021 18:32:39 +0100
4Subject: [PATCH] Add SharedArrayRawBufferRefs to public API
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Stolen from [1]
10
11[1] https://src.fedoraproject.org/rpms/mozjs78/blob/rawhide/f/FixSharedArray.diff
12
13Upstream-Status: Pending
14
15Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
16---
17 js/public/StructuredClone.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/js/public/StructuredClone.h b/js/public/StructuredClone.h
21index cb3cd5b..06da4dd 100644
22--- a/js/public/StructuredClone.h
23+++ b/js/public/StructuredClone.h
24@@ -381,7 +381,7 @@ enum OwnTransferablePolicy {
25 namespace js {
26 class SharedArrayRawBuffer;
27
28-class SharedArrayRawBufferRefs {
29+class JS_PUBLIC_API SharedArrayRawBufferRefs {
30 public:
31 SharedArrayRawBufferRefs() = default;
32 SharedArrayRawBufferRefs(SharedArrayRawBufferRefs&& other) = default;
33--
342.31.1
35