use ;
use crateConstCharPtr;
///Converts a *char C type into Rust string.
/// ```
/// use configtpl::shared_lib::ffi::utils::strings;
/// assert_eq!(strings::cchar_to_string(c"Hello, World!".as_ptr()),
/// String::from("Hello, World!"));
/// ```
/// Converts String to char* C type.
/// NB: the output of this function must be deallocated later using 'cchar_const_deallocate' function
/// Deallocates memory for C string.
/// This function should be called for strings created by *_to_cchar functions above