Skip to main content

apply_fixes_zig

Function apply_fixes_zig 

Source
pub fn apply_fixes_zig(source: &str, layouts: &[&StructLayout]) -> String
Expand description

Apply Zig struct reorderings in-place, returning the modified source. Preserves field comments and annotations verbatim; falls back to IR-based generation.