DoxigAlpha

TranslateC

Fields of this type

Fields

#
source:std.Build.LazyPath
include_dirs:std.array_list.Managed(std.Build.Module.IncludeDir)
c_macros:std.array_list.Managed([]const u8)
out_basename:[]const u8
target:std.Build.ResolvedTarget
optimize:std.builtin.OptimizeMode
output_file:std.Build.GeneratedFile
link_libc:bool
use_clang:bool

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