this repo has no description
13
fork

Configure Feed

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

get split_view example working

authored by

Jeffrey C. Ollie and committed by
Tim Culverhouse
91a5cfcf 4058f702

+5 -6
+5 -6
examples/split_view.zig
··· 49 49 } 50 50 }; 51 51 52 - pub fn main() !void { 53 - var gpa = std.heap.GeneralPurposeAllocator(.{}){}; 54 - defer _ = gpa.deinit(); 52 + pub fn main(init: std.process.Init) !void { 53 + const io = init.io; 54 + const allocator = init.gpa; 55 55 56 - const allocator = gpa.allocator(); 57 - 58 - var app = try vxfw.App.init(allocator); 56 + var app: vxfw.App = undefined; 57 + try app.init(io, allocator, init.environ_map); 59 58 defer app.deinit(); 60 59 61 60 const model = try allocator.create(Model);