mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
merged
This commit is contained in:
commit
17cdbae175
12 changed files with 341 additions and 10 deletions
|
|
@ -2,10 +2,12 @@ const std = @import("std");
|
|||
const wlr = @import("wlroots");
|
||||
|
||||
const Server = @import("server.zig");
|
||||
const Lua = @import("lua/lua.zig");
|
||||
|
||||
const gpa = std.heap.c_allocator;
|
||||
|
||||
pub var server: Server = undefined;
|
||||
pub var lua: Lua = undefined;
|
||||
|
||||
pub fn main() !void {
|
||||
wlr.log.init(.err, null);
|
||||
|
|
@ -14,6 +16,7 @@ pub fn main() !void {
|
|||
|
||||
server.init();
|
||||
defer server.deinit();
|
||||
try lua.init();
|
||||
|
||||
var buf: [11]u8 = undefined;
|
||||
const socket = try server.wl_server.addSocketAuto(&buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue