code: Remove most of the hack around @cImport and flexible arrays

This commit is contained in:
Marten Ringwelski
2020-10-30 13:36:34 +01:00
committed by Isaac Freund
parent 9a2e11620c
commit 1bd6f6bed1
7 changed files with 12 additions and 62 deletions

View File

@ -72,7 +72,7 @@ pub fn init(self: *Self, server: *Server) !void {
.noop_output = undefined,
};
const noop_wlr_output = c.river_wlr_noop_add_output(server.noop_backend) orelse return error.OutOfMemory;
const noop_wlr_output = c.wlr_noop_add_output(server.noop_backend) orelse return error.OutOfMemory;
try self.noop_output.init(self, noop_wlr_output);
}