DoxigAlpha

Function parameters

Parameters

#
self:*Self
fmt:[]const u8
args:anytype

Deprecated.

Functions

#
Managed
Deprecated.
AlignedManaged
Deprecated.
Aligned
A contiguous, growable list of arbitrarily aligned items in memory.

Source

Implementation

#
pub fn print(self: *Self, comptime fmt: []const u8, args: anytype) error{OutOfMemory}!void {
    const gpa = self.allocator;
    var unmanaged = self.moveToUnmanaged();
    defer self.* = unmanaged.toManaged(gpa);
    try unmanaged.print(gpa, fmt, args);
}