Skip to main content

c_string

Function c_string 

Source
pub fn c_string(s: &str) -> CString
Expand description

A NUL-terminated copy for GL (names never contain NUL: they come from UTF-8 checked strings).