clap-zig-bindings
interpunct/clap-zig-bindings
manually written idiomatic zig bindings for CLAP audio API
interpunct/clap-zig-bindings
manually written idiomatic zig bindings for CLAP audio API
THIS IS CURRENTLY A WORK IN PROGRESS
Zig bindings for the CLAP audio API. Currently covers 100% of the api as of
CLAP version 1.2.2
. This library does not cover draft extensions.
This is a full hand-written translation. Everything is done to make the most of Zig's type system.
This is not a plugin framework!
use the zig fetch
command, ie:
zig fetch --save git+https://git.sr.ht/~interpunct/clap-zig-bindings
Then add the following to your build.zig
:
const clap_bindings = b.dependency("clap-bindings", .{})
exe.root_module.addImport("clap-bindings", clap_bindings.module("clap-bindings"));
This library currently targets Zig version 0.13.0
.
Browse tickets at https://todo.sr.ht/~interpunct/clap-zig-bindings.
If you are having issues and there is not already an open ticket for them at the page above please send an email with what your problems are to my public inbox, and I will make a ticket for them. (this does not require a sourcehut account)
patches are done by email on my public inbox. this is funcitonality built in to git. If this workflow is new to you please refer to the sourcehut docs. I promise that it is quick and easy to learn and set up.
clap-zig-bindings
is distributed under LGPLv3, see the LICENSE file.