Bug 1700051: part 48) Slightly simplify `mozInlineSpellWordUtil::FindRealWordContaini...
[gecko.git] / layout / style / ServoBoxedTypeList.h
blob0269dd00c607637531ee002b202a194a4572a5bb
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* a list of all Servo Box<T> types used across bindings, for preprocessing */
9 // The first argument is the name of the Servo type used inside the Arc.
10 // This doesn't need to be accurate; it's only used to generate nice looking
11 // FFI function names.
13 // The second argument is the name of an opaque Gecko type that will
14 // correspond to the Servo type used inside the Box. The convention for the
15 // the name of the opaque Gecko type is "RawServo{Type}", where {Type} is
16 // the name of the Servo type or something close to it.
18 // See the comment at the top of ServoBindingTypes.h for how to use these.
20 // If you add an entry to this file, you should also add an implementation of
21 // HasBoxFFI in Rust.
23 // TODO(emilio): We should remove the opaque type now, cbindgen should be able
24 // to just generate the forward declaration.
26 SERVO_BOXED_TYPE(StyleSet, RawServoStyleSet)
27 SERVO_BOXED_TYPE(AnimationValueMap, RawServoAnimationValueMap)
28 SERVO_BOXED_TYPE(AuthorStyles, RawServoAuthorStyles)
29 SERVO_BOXED_TYPE(SelectorList, RawServoSelectorList)
30 SERVO_BOXED_TYPE(SharedMemoryBuilder, RawServoSharedMemoryBuilder)
31 SERVO_BOXED_TYPE(SourceSizeList, RawServoSourceSizeList)
32 SERVO_BOXED_TYPE(UseCounters, StyleUseCounters)