Programming Search⌘K

Other modules, page 1 of 9

The entries of the 224 modules of the Zig reference that have fewer than 20 entries each, in the order of the module names. This page has 1,638 cards.

std.Build.Step.TranslateC.addModule

pub fn addModule(translate_c: *TranslateC, name: []const u8) *std.Build.Module

Creates a module from the translated source and adds it to the package's module set making it available to other packages which depend on this one. `createModule` can be used instead to create a private module.

Kind
function
Module
std.Build.Step.TranslateC

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.Build.Step.WriteFile.add

pub fn add(wf: *WriteFile, sub_path: []const u8, contents: []const u8) std.Build.LazyPath

Writes `contents` to a file at `sub_path` relative to the output directory. `sub_path` may be a basename, or it may include subdirectories, which are created as needed.

Kind
function
Module
std.Build.Step.WriteFile

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.