SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause brief: | Checks if members of two types have compatible types. copyrights: - Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de) definition: default: | ${/c/if/true:/name} variants: - definition: | ${/compiler/if/builtin-types-compatible-p:/name}( ${/compiler/if/typeof:/name}( ( (_t_lhs *) 0 )->_m_lhs ), ${/compiler/if/typeof:/name}( ( (_t_rhs *) 0 )->_m_rhs ) ) enabled-by: - defined(${/compiler/if/gnuc:/name}) description: null enabled-by: true index-entries: [] interface-type: macro links: - role: interface-placement uid: header - role: interface-ingroup uid: group name: RTEMS_HAVE_MEMBER_SAME_TYPE notes: null params: - description: | is the left hand side type. dir: null name: _t_lhs - description: | is the left hand side member. dir: null name: _m_lhs - description: | is the right hand side type. dir: null name: _t_rhs - description: | is the right hand side member. dir: null name: _m_rhs return: return: | Returns to true, if the members of two types have compatible types, otherwise false. return-values: [] type: interface