fn addModule(self: *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.

Parameters

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