diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-12 13:19:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-13 00:41:47 -0300 |
| commit | 4b4113a0217ee27c78e7efddb66ff5a455d49083 (patch) | |
| tree | b848dc1e92c3126dec11da8547e8033ff3990140 /gui/src/main.zig | |
| parent | eab50d1c040774351f332a1568fa332c377860bd (diff) | |
| download | computeranim-4b4113a0217ee27c78e7efddb66ff5a455d49083.tar.gz computeranim-4b4113a0217ee27c78e7efddb66ff5a455d49083.zip | |
debugger: add a native GUI with live V8 JIT debugging
Diffstat (limited to 'gui/src/main.zig')
| -rw-r--r-- | gui/src/main.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/src/main.zig b/gui/src/main.zig new file mode 100644 index 0000000..91a2ddf --- /dev/null +++ b/gui/src/main.zig @@ -0,0 +1,9 @@ +const std = @import("std"); +const app = @import("app"); + +pub fn main(init: std.process.Init) !void { + app.io = init.io; + app.gpa = init.gpa; + defer app.close(); + try @import("host").main(init, @import("sketch").sketch(app)); +} |
