Zig NEWS

Discussion on: Interfaces in Zig

Collapse
 
chaoyangnz profile image
Chao Yang

I suppose it won’t work when a packed structure is needed, and I don’t hope an additional interface pointer to destroy the memory layout.

Collapse
 
david_vanderson profile image
David Vanderson

Sorry I don't understand. Are you saying that @fieldParentPtr doesn't work with packed structs?