2 ms·
Zig has the best C interop I've ever used. Just a simple import and it figures it out: const c = @cImport({ @cInclude("types.h"); @cInclude
by vips7L 6y ago
Zig has the best C interop I've ever used. Just a simple import and it figures it out:
const c = @cImport({
@cInclude("types.h");
@cInclude("stat.h");
@cInclude("user.h");
});