Macro erupt::cstr[][src]

macro_rules! cstr {
    ($s : expr) => { ... };
}
Expand description

Construct a *const std::os::raw::c_char from a string.

Example

const LAYER_KHRONOS_VALIDATION: *const c_char = cstr!("VK_LAYER_KHRONOS_validation");