blob: ca37ca72ceffa3c0f95c5b4674cadc78b3adf971 [file] [log] [blame]
From ccdd47cee610cb33fa5f67f856a68f5e411c79d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 31 Oct 2021 18:32:39 +0100
Subject: [PATCH] Add SharedArrayRawBufferRefs to public API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Stolen from [1]
[1] https://src.fedoraproject.org/rpms/mozjs78/blob/rawhide/f/FixSharedArray.diff
Upstream-Status: Pending
Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
---
js/public/StructuredClone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/public/StructuredClone.h b/js/public/StructuredClone.h
index cb3cd5b..06da4dd 100644
--- a/js/public/StructuredClone.h
+++ b/js/public/StructuredClone.h
@@ -381,7 +381,7 @@ enum OwnTransferablePolicy {
namespace js {
class SharedArrayRawBuffer;
-class SharedArrayRawBufferRefs {
+class JS_PUBLIC_API SharedArrayRawBufferRefs {
public:
SharedArrayRawBufferRefs() = default;
SharedArrayRawBufferRefs(SharedArrayRawBufferRefs&& other) = default;
--
2.31.1