Generated file

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef js_builtin_intl_glue_Locale_h
#define js_builtin_intl_glue_Locale_h
/* Generated with cbindgen:0.29.1 */
/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen. */
#include <stdint.h>
namespace js {
namespace intl {
/// Text direction.
enum class TextDirection : uint8_t {
/// Unknown text direction.
Unknown = 0,
/// Left-to-Right text direction.
LeftToRight = 1,
/// Right-to-Left text direction.
RightToLeft = 2,
};
extern "C" {
/// Return the text direction of a language identifier.
///
TextDirection locale_text_direction_of(const char *languageId, size_t languageIdLen);
} // extern "C"
} // namespace intl
} // namespace js
#endif // js_builtin_intl_glue_Locale_h