3 ms·
Interesting. What mechanism does Zig use to hook up function argument dynamically depending on what is declared in the function (or am I reading that wrong)? No
by apitman 3y ago
Interesting. What mechanism does Zig use to hook up function argument dynamically depending on what is declared in the function (or am I reading that wrong)? Not sure I've ever seen something quite like it.
- cztomsik 3y agoIt's using comptime inline for, see https://github.com/cztomsik/tokamak/blob/main/src/injector.zig#L85 https://github.com/cztomsik/tokamak/blob/main/src/injector.z...