summaryrefslogtreecommitdiffstats
path: root/dom/bindings/BindingDeclarations.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/bindings/BindingDeclarations.h
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/bindings/BindingDeclarations.h')
-rw-r--r--dom/bindings/BindingDeclarations.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/dom/bindings/BindingDeclarations.h b/dom/bindings/BindingDeclarations.h
index 24385c9fa5..c723af0021 100644
--- a/dom/bindings/BindingDeclarations.h
+++ b/dom/bindings/BindingDeclarations.h
@@ -131,11 +131,6 @@ template <class T>
constexpr bool is_dom_union_with_typedarray_members =
std::is_base_of_v<UnionWithTypedArraysBase, T>;
-struct EnumEntry {
- const char* value;
- size_t length;
-};
-
enum class CallerType : uint32_t;
class MOZ_STACK_CLASS GlobalObject {
@@ -562,6 +557,13 @@ JS::Handle<JSObject*> GetPerInterfaceObjectHandle(
JSContext* aCx, size_t aSlotId, CreateInterfaceObjectsMethod aCreator,
bool aDefineOnGlobal);
+namespace binding_detail {
+
+template <typename Enum>
+struct EnumStrings;
+
+} // namespace binding_detail
+
} // namespace dom
} // namespace mozilla