fn defineCMacro(self: *TranslateC, name: []const u8, value: ?[]const u8) void

If the value is omitted, it is set to 1. name and value need not live longer than the function call.

Parameters

self: *TranslateC,
name: []const u8,
value: ?[]const u8,