[−][src]Function slang_sys::spGetDiagnosticOutput
pub unsafe extern "C" fn spGetDiagnosticOutput(
request: *mut SlangCompileRequest
) -> *const c_char
Get any diagnostic messages reported by the compiler.
@returns A null-terminated UTF-8 encoded string of diagnostic messages.
The returned pointer is only guaranteed to be valid
until request
is destroyed. Applications that wish to
hold on to the diagnostic output for longer should use
spGetDiagnosticOutputBlob
.