addSystemIncludePath
Function parameters
Parameters
Type definitions in this namespace
Types
Functions in this namespace
Functions
- addModule
- Creates a module from the translated source and adds it to the package's
- createModule
- Creates a private module from the translated source to be used by the
- defineCMacro
- If the value is omitted, it is set to 1.
- defineCMacroRaw
- name_and_value looks like [name]=[value].
= .translate_c
Values
- base_id
- = .translate_c
Source
Implementation
pub fn addSystemIncludePath(translate_c: *TranslateC, lazy_path: LazyPath) void {
const b = translate_c.step.owner;
translate_c.include_dirs.append(.{ .path_system = lazy_path.dupe(b) }) catch
@panic("OOM");
lazy_path.addStepDependencies(&translate_c.step);
}