1
0
Fork
You've already forked zig-nds-bindings
1
Bindings for DS libraries such as libnds
  • Zig 72.7%
  • C 27.3%
2025年10月30日 00:02:16 -04:00
src zig fmt 2025年10月30日 00:02:16 -04:00
stub/nds add bios.h and ndstypes.h override to workaround translate-c regressions 2025年10月29日 22:51:59 -04:00
.gitignore initial: libnds bindings 2024年11月02日 15:13:46 -04:00
build.zig use translate-c package; add workarounds 2025年10月29日 21:56:06 -04:00
build.zig.zon use translate-c package; add workarounds 2025年10月29日 21:56:06 -04:00
README.md initial: libnds bindings 2024年11月02日 15:13:46 -04:00

zig-nds-bindings

Zig bindings for libnds

See https://codeberg.org/GalaxyShard/zig-nds for building BlocksDS with Zig

To add as a dependency or update, run the following command:

zig fetch --save git+https://codeberg.org/GalaxyShard/zig-nds-bindings.git

Then use the following in build.zig:

const nds_bindings = b.dependency("nds-bindings", .{});
arm9.root_module.addImport("nds9-bindings", nds_bindings.module("nds9"));
// Only for projects with a custom arm7 with Zig code
arm7.root_module.addImport("nds7-bindings", nds_bindings.module("nds7"));