authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-04 14:02:26 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-04 14:02:26 -07:00
log9a0006c9365b60df65274b14e26d416798c1341f
tree796410c162b78cf4cf2b53743e0ee09c54a8d22e
parentc25bc492962807afcbad80cc9911c24774298363

add pub Writer decl


1 files changed, 2 insertions(+), 0 deletions(-)

src/lib.zig+2
......@@ -26,6 +26,8 @@ pub fn compile(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, co
2626 try writer.writeAll("\n");
2727}
2828
29pub const Writer = std.ArrayList(u8).Writer;
30
2931inline fn do(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, indent: usize, flag1: bool) anyerror!void {
3032 switch (comptime value) {
3133 .element => |v| {