Function addIncludePath [src]

Prototype

pub fn addIncludePath(translate_c: *TranslateC, lazy_path: LazyPath) void

Parameters

translate_c: *TranslateClazy_path: LazyPath

Source

pub fn addIncludePath(translate_c: *TranslateC, lazy_path: LazyPath) void { const b = translate_c.step.owner; translate_c.include_dirs.append(.{ .path = lazy_path.dupe(b) }) catch @panic("OOM"); lazy_path.addStepDependencies(&translate_c.step); }