openMSX
Macros
outer.hh File Reference
#include <cstddef>
Include dependency graph for outer.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OUTER(type, member)   *reinterpret_cast<type*>(reinterpret_cast<uintptr_t>(this) - offsetof(type, member));
 

Macro Definition Documentation

◆ OUTER

#define OUTER (   type,
  member 
)    *reinterpret_cast<type*>(reinterpret_cast<uintptr_t>(this) - offsetof(type, member));