qh_sizeof_member()

Updated: May 06, 2022

Provides the size of a member of a composite type (struct, union), given its type and the member name

Synopsis:

#include <qh/size.h>
#define qh_sizeof_member(composite,
                         member)

Arguments:

composite
The composite type.
member
The name of the member to determine the size of.

Library:

qh

Returns:

The size of the member of the composite type.