zig-wasm-dom
zig-wasm-dom copied to clipboard
Zig + WebAssembly + JS + DOM
This is the output of the zig build command. I'm using 0.9.1
Otherwise, this still works fine!
Line 115: Replace `@enumToInt(event_id)` with `@intFromEnum(event_id)` Line 120: Replace `switch (@intToEnum(eventId, id)) {` with ``` var e: eventId = @enumFromInt(id); switch (e) { ``` Line 157: Replace `return @ptrToInt(buf.ptr);` with...
This is a little bit revamped version of your code and it's adapted to zig v0.13. The most important thing is adding of `build.zig` config file with all WASM specific...