10 lines
382 B
Zig
10 lines
382 B
Zig
pub usingnamespace if (@import("builtin").zig_backend == .stage1)
|
|
@cImport({
|
|
@cInclude("soundio/soundio.h");
|
|
})
|
|
else
|
|
// TODO(self-hosted): HACK: workaround https://github.com/ziglang/zig/issues/12483
|
|
//
|
|
// Extracted from a build using stage1 from zig-cache/ (`cimport.zig`)
|
|
// Then find+replace `= ?fn` -> `= ?*const fn`
|
|
@import("cimport1.zig");
|