blob: d2566d70d4f7902c9d065c177862f10fc4efc06c [file]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Automatically @generated C++ bindings for the following Rust crate:
// cpp_enums_golden
// Features: supported
// clang-format off
#ifndef THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ENUMS_CPP_ENUMS_GOLDEN
#define THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ENUMS_CPP_ENUMS_GOLDEN
#include "support/annotations_internal.h"
#include <cstdint>
namespace cpp_enums {
namespace classless_enum {
// CRUBIT_ANNOTATE: cpp_enum=enum
//
// Generated from:
// cc_bindings_from_rs/test/enums/cpp_enums.rs;l=11
enum CRUBIT_INTERNAL_RUST_TYPE(
":: cpp_enums_golden :: classless_enum :: Color") Color : std::int32_t {
RED = INT32_C(0),
BLUE = INT32_C(2),
};
} // namespace classless_enum
namespace cpp_enum {
// CRUBIT_ANNOTATE: cpp_enum=enum class
//
// Generated from:
// cc_bindings_from_rs/test/enums/cpp_enums.rs;l=22
enum class CRUBIT_INTERNAL_RUST_TYPE(
":: cpp_enums_golden :: cpp_enum :: Color") Color : std::int32_t {
RED = INT32_C(0),
BLUE = INT32_C(2),
};
} // namespace cpp_enum
namespace deprecated_enum {
// CRUBIT_ANNOTATE: cpp_enum=enum class
//
// Generated from:
// cc_bindings_from_rs/test/enums/cpp_enums.rs;l=38
enum class CRUBIT_INTERNAL_RUST_TYPE(
":: cpp_enums_golden :: deprecated_enum :: Color")
[[nodiscard]] [[deprecated("Use NewColor")]] Color : std::int32_t{
RED = INT32_C(0),
BLUE = INT32_C(2),
};
} // namespace deprecated_enum
namespace classless_enum {}
namespace cpp_enum {}
namespace deprecated_enum {}
} // namespace cpp_enums
#endif // THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ENUMS_CPP_ENUMS_GOLDEN