macro_rules! offsetof {
($name : ident . $($field: ident).*) => { ... };
}
Expand description
Just like C’s offsetof.
The magic number 0x4000 is insignificant. We use it to avoid using NULL, since NULL can cause compiler problems, especially in cases of multiple inheritance.