zig stage 2 compatibility

This commit is contained in:
Robin Voetter
2022-08-20 00:30:17 +02:00
parent 2bd9927cfe
commit 5af6ffe864
4 changed files with 7 additions and 7 deletions

View File

@@ -547,7 +547,7 @@ fn Renderer(comptime WriterType: type) type {
if (optional) {
try self.writer.writeByte('?');
}
try self.writer.writeAll("fn(");
try self.writer.writeAll("*const fn(");
for (command_ptr.params) |param| {
try self.writeIdentifierWithCase(.snake, param.name);
try self.writer.writeAll(": ");