all: zig fmt

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-22 19:43:41 -07:00
parent 5466375f40
commit 1356cdd838
2 changed files with 5 additions and 5 deletions

View file

@ -8,11 +8,11 @@ const native = @import("native.zig");
pub const App = @This();
// Dummy init, deinit, and update functions
pub fn init(_: *App, _: *Core) !void { }
pub fn init(_: *App, _: *Core) !void {}
pub fn deinit(_: *App, _: *Core) void { }
pub fn deinit(_: *App, _: *Core) void {}
pub fn update(_: *App, _: *Core) !void { }
pub fn update(_: *App, _: *Core) !void {}
// Current Limitations:
// 1. Currently, ecs seems to be using some weird compile-time type trickery, so I'm not exactly sure how
@ -55,7 +55,7 @@ pub export fn mach_core_update(core: *Core, resize: ?native.CoreResizeCallback)
return MachStatus.Success;
}
const MachStatus = enum(c_int) {
const MachStatus = enum(c_int) {
Success = 0x00000000,
Error = 0x00000001,
};