Bug 1888590 - Mark some subtests on trusted-types-event-handlers.html as failing...
[gecko.git] / extensions / spellcheck / hunspell / glue / RLBoxHunspellTypes.h
blobd05703ad0ff88793add2825bad95633fe80c3321
1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef EXTENSIONS_SPELLCHECK_HUNSPELL_GLUE_RLBOXHUNSPELLTYPES_H_
7 #define EXTENSIONS_SPELLCHECK_HUNSPELL_GLUE_RLBOXHUNSPELLTYPES_H_
9 #include <stddef.h>
10 #include "mozilla/rlbox/rlbox_types.hpp"
11 #include "hunspell_csutil.hxx"
13 #ifdef MOZ_WASM_SANDBOXING_HUNSPELL
14 RLBOX_DEFINE_BASE_TYPES_FOR(hunspell, wasm2c)
15 #else
16 RLBOX_DEFINE_BASE_TYPES_FOR(hunspell, noop)
17 #endif
19 #define sandbox_fields_reflection_hunspell_class_cs_info(f, g, ...) \
20 f(unsigned char, ccase, FIELD_NORMAL, ##__VA_ARGS__) g() \
21 f(unsigned char, clower, FIELD_NORMAL, ##__VA_ARGS__) g() \
22 f(unsigned char, cupper, FIELD_NORMAL, ##__VA_ARGS__) g()
24 #define sandbox_fields_reflection_hunspell_allClasses(f, ...) \
25 f(cs_info, hunspell, ##__VA_ARGS__)
27 #endif