Function defineCMacroRaw [src]

name_and_value looks like [name]=[value]. If the value is omitted, it is set to 1.

Prototype

pub fn defineCMacroRaw(translate_c: *TranslateC, name_and_value: []const u8) void

Parameters

translate_c: *TranslateCname_and_value: []const u8

Source

pub fn defineCMacroRaw(translate_c: *TranslateC, name_and_value: []const u8) void { translate_c.c_macros.append(translate_c.step.owner.dupe(name_and_value)) catch @panic("OOM"); }