nx_xfile_struct_types.nx source
↩ module page · 13 lines · 372 B
1// Repro mirror of `Global` from types.nx. Same field types in
2// the same order so the C anchor's offset assignment goes through
3// the same code path (interleaved *u8 + i64).
4struct G {
5 id: i64,
6 name_bytes: *u8,
7 name_len: i64,
8 bytes: *u8,
9 len: i64,
10 is_string: i64,
11 zero_init: i64,
12 writable: i64,
13}