mach/src
Stephen Gutekanst 72ea652dca mach: require a 'pub const App' to be exposed
This requires apps expose a `pub const App` from their `main.zig`, effectively adopting
the high-level/low-level application API outlined in hexops/mach#349

If `pub const App` does not exist, a clear compiler error is produced:

```
./src/platform/common.zig:5:9: error: expected e.g. `pub const App = mach.App(modules, init)' (App definition missing in your main Zig file)
        @compileError("expected e.g. `pub const App = mach.App(modules, init)' (App definition missing in your main Zig file)");
        ^
./src/platform/native.zig:13:28: note: called from here
    common.checkApplication(app_pkg);
                           ^
./src/platform/native.zig:12:10: note: called from here
comptime {
         ^
./src/platform/native.zig:15:20: error: container '.app' has no member called 'App'
const App = app_pkg.App;
                   ^
```

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-04 21:32:38 -07:00
..
platform mach: require a 'pub const App' to be exposed 2022-07-04 21:32:38 -07:00
resource mach: ResourceManager: implement auto convertion of files into assets based on given info 2022-06-24 10:07:16 -07:00
Core.zig mach: rename mach.Engine -> mach.Core 2022-07-04 20:14:27 -07:00
enums.zig mach: mouse cursor support (#352) 2022-06-15 21:53:55 -07:00
main.zig mach: rename mach.Engine -> mach.Core 2022-07-04 20:14:27 -07:00
platform.zig mach: merge and remove the extra layer of indirection caused by Core and 2022-06-01 23:45:56 -07:00
structs.zig mach: rename mach.Engine -> mach.Core 2022-07-04 20:14:27 -07:00
Timer.zig mach: add a standard way to access platform specific structs 2022-05-23 01:03:43 -07:00