Native PostgreSQL driver / client for Zig
0

Configure Feed

Select the types of activity you want to include in your feed.

fix for latest zig changes

Karl Seguin (Dec 20, 2024, 9:26 AM +0800) a03737e8 8eb33efa

+1 -1
+1 -1
src/result.zig
··· 186 186 }; 187 187 188 188 pub fn init(allocator: Allocator, size: usize) !State { 189 - const names = try allocator.alloc([]u8, size); 189 + const names = try allocator.alloc([]const u8, size); 190 190 errdefer allocator.free(names); 191 191 192 192 const values = try allocator.alloc(Value, size);