Function addConfigHeader [src]

Prototype

pub fn addConfigHeader(translate_c: *TranslateC, config_header: *Step.ConfigHeader) void

Parameters

translate_c: *TranslateCconfig_header: *Step.ConfigHeader

Source

pub fn addConfigHeader(translate_c: *TranslateC, config_header: *Step.ConfigHeader) void { translate_c.include_dirs.append(.{ .config_header_step = config_header }) catch @panic("OOM"); translate_c.step.dependOn(&config_header.step); }