|
|
UDI_VA_ARG(3udi)
Varargs macro for UDI data types
#include <udi.h>#define UDI_VA_ARG(pvar, type, va_code)#define UDI_VA_UBIT8_T #define UDI_VA_SBIT8_T #define UDI_VA_UBIT16_T #define UDI_VA_SBIT16_T #define UDI_VA_UBIT32_T #define UDI_VA_SBIT32_T #define UDI_VA_BOOLEAN_T #define UDI_VA_INDEX_T #define UDI_VA_SIZE_T #define UDI_VA_STATUS_T #define UDI_VA_CHANNEL_T #define UDI_VA_ORIGIN_T #define UDI_VA_POINTERARGUMENTS pvar is a pointer into the argument list, as for ISO C va_arg().
type is one of the UDI data types from the table below.
va_code is a code corresponding to a UDI data type or class of UDI data types, from the table below. This must be from the row of the table that includes the type, type.
DESCRIPTION This macro acts as a wrapper around the ISO C va_arg() macro, allowing it to be used portably with UDI data types. The supported data types and their corresponding va_code values are listed in the following table: