|
|
|
|
|
by TUSF
1116 days ago
|
|
With Zig, you just write something like: const c = @cImport({
@cDefine("SOME_MACRO", "1");
@cInclude("raylib.h");
});
Which translates the header files directly into Zig and allows you to call into them under whatever namespace you assigned them under. You even get completions (assuming you're using the language server) |
|