Function create [src]
Prototype
pub fn create(owner: *std.Build, options: CreateOptions) *Module
Parameters
owner: *std.Build
options: CreateOptions
Source
pub fn create(owner: *std.Build, options: CreateOptions) *Module {
const m = owner.allocator.create(Module) catch @panic("OOM");
m.init(owner, .{ .options = options });
return m;
}