sysaudio: improve self-hosted compiler support
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f756af8bcd
commit
45896bd6f5
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ const Audio = @This();
|
|||
pub const DataCallback = if (@import("builtin").zig_backend == .stage1)
|
||||
fn (device: Device, frame_count: u32) void
|
||||
else
|
||||
fn (device: Device, frame_count: u32) void;
|
||||
*const fn (device: Device, frame_count: u32) void;
|
||||
|
||||
pub const Device = struct {
|
||||
handle: SoundIoStream,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue