Skip to content

dantecatalfamo/sndio-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sndio-zig

sndio bindings for zig

Provides both native bindings and a zig wrapper

hdl = sio_open(...)

sio_write(hdl, arr, 5)
hdl.write(arr, 5)

Importing

const addSndio = @import("sndio-zig/build.zig").addSndio;

pub fn build(b: *std.build.Builder) void {
    [...]
    const exe = b.addExecutable("example", "src/main.zig");
    addSndio(exe);
    [...]
}

Releases

No releases published

Packages

No packages published

Languages