Skip to content

Commit

Permalink
use os specific c_char
Browse files Browse the repository at this point in the history
  • Loading branch information
jabuwu committed Feb 18, 2023
1 parent 2c7b83e commit 49c6046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub mod types {
#[allow(non_camel_case_types)]
pub type c_schar = i8;
#[allow(non_camel_case_types)]
pub type c_char = i8;
pub type c_char = std::ffi::c_char;
#[allow(non_camel_case_types)]
pub type c_uchar = u8;
#[allow(non_camel_case_types)]
Expand Down

0 comments on commit 49c6046

Please sign in to comment.