| // WARNING: This file is machine generated by fidlgen. |
| |
| #pragma once |
| |
| #include <dependent/llcpp/fidl.h> |
| #include <lib/fidl/internal.h> |
| #include <lib/fidl/llcpp/array.h> |
| #include <lib/fidl/llcpp/buffer_allocator.h> |
| #include <lib/fidl/llcpp/coding.h> |
| #include <lib/fidl/llcpp/connect_service.h> |
| #include <lib/fidl/llcpp/envelope.h> |
| #include <lib/fidl/llcpp/memory.h> |
| #include <lib/fidl/llcpp/service_handler_interface.h> |
| #include <lib/fidl/llcpp/string_view.h> |
| #include <lib/fidl/llcpp/sync_call.h> |
| #include <lib/fidl/llcpp/tracking_ptr.h> |
| #include <lib/fidl/llcpp/traits.h> |
| #include <lib/fidl/llcpp/transaction.h> |
| #include <lib/fidl/llcpp/vector_view.h> |
| #include <lib/fidl/txn_header.h> |
| #include <lib/fit/function.h> |
| #include <zircon/fidl.h> |
| |
| namespace llcpp { |
| |
| namespace example { |
| |
| struct Foo; |
| |
| extern "C" const fidl_type_t v1_example_FooTable; |
| |
| struct Foo { |
| static constexpr const fidl_type_t* Type = &v1_example_FooTable; |
| static constexpr uint32_t MaxNumHandles = 0; |
| static constexpr uint32_t PrimarySize = 4; |
| [[maybe_unused]] static constexpr uint32_t MaxOutOfLine = 0; |
| static constexpr bool HasPointer = false; |
| |
| ::llcpp::dependent::MyEnum field = {}; |
| }; |
| |
| } // namespace example |
| } // namespace llcpp |
| |
| namespace fidl { |
| |
| template <> |
| struct IsFidlType<::llcpp::example::Foo> : public std::true_type {}; |
| static_assert(std::is_standard_layout_v<::llcpp::example::Foo>); |
| static_assert(offsetof(::llcpp::example::Foo, field) == 0); |
| static_assert(sizeof(::llcpp::example::Foo) == |
| ::llcpp::example::Foo::PrimarySize); |
| |
| } // namespace fidl |