blob: 8f8aa23e717a3e5b2c1a3673fc78c8a2ca44d2ff [file] [log] [blame]
// 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.example4 banjo file
#pragma once
#include <type_traits>
namespace ddk {
namespace internal {
DECLARE_HAS_MEMBER_FN_WITH_SIGNATURE(has_interface_protocol_func, Interfacefunc,
void (C::*)(bool x));
template <typename D>
constexpr void CheckInterfaceProtocolSubclass() {
static_assert(internal::has_interface_protocol_func<D>::value,
"InterfaceProtocol subclasses must implement "
"void Interfacefunc(bool x);");
}
} // namespace internal
} // namespace ddk