drfront_string_replace_character_wide

Function drfront_string_replace_character_wide 

Source
pub unsafe extern "C" fn drfront_string_replace_character_wide(
    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 TCHAR \p str. Typically used to canonicalize Windows paths into using forward slashes.

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