[waffle] [PATCH 17/18] wgl: avoid using container_of and DEFINE_CONTAINER_CAST_FUNC macros

Chad Versace chad.versace at linux.intel.com
Mon Aug 4 00:25:28 PDT 2014


On 07/22/2014 08:31 PM, Emil Velikov wrote:
> msvc does not play nice with them. The wcore struct is always the first
> component of the parent wgl struct, thus we should be safe with casting
> without calculating/adding the offset (which is 0).
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the waffle mailing list