drfront_string_replace_character

Function drfront_string_replace_character 

Source
pub unsafe extern "C" fn drfront_string_replace_character(
    str_: *mut c_char,
    old_char: c_char,
    new_char: c_char,
)
Expand description

Replace occurences of \p old_char with \p new_char in \p str. Typically used to canonicalize Windows paths into using forward slashes.

@param[out] str The string whose characters should be replaced. @param[in] old_char Old character to be replaced. @param[in] new_char New character to use.