Re:C Macro Magic
by tiehuis on Thursday February 28, 2019 @06:17AM
(#19270561)
A comparable implementation in Zig. Key detail is `@fieldParentPtr` [1], which has the same
functionality as `container_of`.
[1] https://ziglang.org/documentation/master/#fieldParentPtr
[ Parent
| on HN ]
There are no comments on this comment yet.