Added new ADAPT_STRUCT API support for the ADAPT_STRUCT_AS_VIEW macro.