projectm_free_string

Function projectm_free_string 

Source
pub unsafe extern "C" fn projectm_free_string(str_: *const c_char)
Expand description

@brief Frees the memory of an allocated string.

Frees the memory allocated by a call to projectm_alloc_string() or any (const) char* pointers returned by a projectM API call.

Do not use free() to delete the pointer!

@param str A pointer returned by projectm_alloc_string().