1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: use a platform neutral module with C declarations (sokol.audio), instead of time in private_redeclaration_of_C_timeval.vv .

This commit is contained in:
Delyan Angelov
2022-06-27 19:48:46 +03:00
parent 94d6670e8f
commit b1a14c6cf7
7 changed files with 41 additions and 31 deletions

View File

@@ -98,8 +98,8 @@ fn C.saudio_expect() int
fn C.saudio_push(frames &f32, num_frames int) int
// setup - setup sokol-audio
pub fn setup(desc C.saudio_desc) {
C.saudio_setup(&desc)
pub fn setup(desc &C.saudio_desc) {
C.saudio_setup(desc)
}
// shutdown - shutdown sokol-audio