Skip to documentation
SLOP

tiny.pretty.renderAlloc

Reference tiny.pretty renderAlloc

Defined in tiny.pretty.

Called byCallsNo direct callerstiny.prettywritetiny.prettyrenderAlloc
Static calls · unresolved targets: 0 · external targets: 2.

Source

Source: lib/pretty/core/src/render.zig:60

zig
pub fn renderAlloc(    allocator: std.mem.Allocator,    doc: Doc,    options: LayoutOptions,) ![]u8 {    var out = std.Io.Writer.Allocating.init(allocator);    defer out.deinit();    try write(&out.writer, doc, options);    return try out.toOwnedSlice();}

Source: lib/pretty/core/src/root.zig:124

zig
pub const renderAlloc = render.renderAlloc;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433