Use full path to c_char in README

Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
LevitatingLion 2023-02-24 14:27:46 +01:00 committed by GitHub
parent 04b2aab141
commit e81ebb947c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -592,7 +592,7 @@ extern "Rust" {
/// `out` must point to at least `out_size` many bytes, and the result will be stored there
/// with a null terminator.
/// Returns 0 if the `out` buffer was large enough, and the required size otherwise.
fn miri_host_to_target_path(path: *const c_char, out: *mut c_char, out_size: usize) -> usize;
fn miri_host_to_target_path(path: *const std::ffi::c_char, out: *mut std::ffi::c_char, out_size: usize) -> usize;
}
```