| // Copyright 2018 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // WARNING: THIS FILE IS MACHINE GENERATED. DO NOT EDIT. |
| // Generated from the banjo.examples.enums banjo file |
| |
| #pragma once |
| |
| |
| #include <zircon/compiler.h> |
| #include <zircon/types.h> |
| |
| __BEGIN_CDECLS |
| |
| // Forward declarations |
| typedef uint8_t uint8_enum_t; |
| #define UINT8_ENUM_KONE UINT8_C(1) |
| #define UINT8_ENUM_KTWO UINT8_C(2) |
| #define UINT8_ENUM_KTHREE UINT8_C(3) |
| #define UINT8_ENUM_KFOUR UINT8_C(4) |
| #define UINT8_ENUM_KFIVE UINT8_C(5) |
| typedef uint64_t uint64_enum_t; |
| #define UINT64_ENUM_KONE UINT64_C(1) |
| #define UINT64_ENUM_KTWO UINT64_C(2) |
| #define UINT64_ENUM_KTHREE UINT64_C(3) |
| #define UINT64_ENUM_KFOUR UINT64_C(4) |
| #define UINT64_ENUM_KFIVE UINT64_C(5) |
| #define UINT64_ENUM_KSIX UINT64_C(6) |
| #define UINT64_ENUM_KSEVEN UINT64_C(7) |
| #define UINT64_ENUM_KEIGHT UINT64_C(8) |
| typedef uint32_t uint32_enum_t; |
| #define UINT32_ENUM_KONE UINT32_C(1) |
| #define UINT32_ENUM_KTWO UINT32_C(2) |
| #define UINT32_ENUM_KTHREE UINT32_C(3) |
| #define UINT32_ENUM_KFOUR UINT32_C(4) |
| #define UINT32_ENUM_KFIVE UINT32_C(5) |
| #define UINT32_ENUM_KSIX UINT32_C(6) |
| #define UINT32_ENUM_KSEVEN UINT32_C(7) |
| typedef uint16_t uint16_enum_t; |
| #define UINT16_ENUM_KONE UINT16_C(1) |
| #define UINT16_ENUM_KTWO UINT16_C(2) |
| #define UINT16_ENUM_KTHREE UINT16_C(3) |
| #define UINT16_ENUM_KFOUR UINT16_C(4) |
| #define UINT16_ENUM_KFIVE UINT16_C(5) |
| #define UINT16_ENUM_KSIX UINT16_C(6) |
| typedef int8_t int8_enum_t; |
| #define INT8_ENUM_KNEGATIVEONE INT8_C(-1) |
| #define INT8_ENUM_KONE INT8_C(1) |
| typedef int64_t int64_enum_t; |
| #define INT64_ENUM_KNEGATIVEONE INT64_C(-1) |
| #define INT64_ENUM_KONE INT64_C(1) |
| #define INT64_ENUM_KTWO INT64_C(2) |
| #define INT64_ENUM_KTHREE INT64_C(3) |
| #define INT64_ENUM_KFOUR INT64_C(4) |
| typedef int32_t int32_enum_t; |
| #define INT32_ENUM_KNEGATIVEONE INT32_C(-1) |
| #define INT32_ENUM_KONE INT32_C(1) |
| #define INT32_ENUM_KTWO INT32_C(2) |
| #define INT32_ENUM_KTHREE INT32_C(3) |
| typedef int16_t int16_enum_t; |
| #define INT16_ENUM_KNEGATIVEONE INT16_C(-1) |
| #define INT16_ENUM_KONE INT16_C(1) |
| #define INT16_ENUM_KTWO INT16_C(2) |
| |
| // Declarations |
| |
| |
| // Helpers |
| |
| |
| __END_CDECLS |