chor: bumb zig version to 0.16.0-dev
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m41s

This commit is contained in:
2025-08-27 12:17:20 +02:00
parent c50b10f32d
commit f256a79da0
3 changed files with 23 additions and 16 deletions

View File

@@ -622,17 +622,17 @@ pub fn Container(comptime Event: type) type {
.size = .{},
.properties = properties,
.element = element,
.elements = std.ArrayList(@This()).init(allocator),
.elements = try std.ArrayList(@This()).initCapacity(allocator, 2),
};
}
pub fn deinit(this: *const @This()) void {
pub fn deinit(this: *@This()) void {
for (this.elements.items) |*element| element.deinit();
this.elements.deinit();
this.elements.deinit(this.allocator);
}
pub fn append(this: *@This(), element: @This()) !void {
try this.elements.append(element);
try this.elements.append(this.allocator, element);
}
pub fn reposition(this: *@This(), origin: Point) void {