[][src]Function slang_sys::spTranslationUnit_addPreprocessorDefine

pub unsafe extern "C" fn spTranslationUnit_addPreprocessorDefine(
    request: *mut SlangCompileRequest,
    translationUnitIndex: c_int,
    key: *const c_char,
    value: *const c_char
)

Add a preprocessor definition that is scoped to a single translation unit.

@param translationUnitIndex The index of the translation unit to get the definition. @param key The name of the macro to define. @param value The value of the macro to define.