Applies changes from jsruntime Self and mem_guaranteed

Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
Francis Bouvier
2023-06-02 16:54:57 +02:00
parent 8f2d59172b
commit e0eee45156
9 changed files with 318 additions and 538 deletions

View File

@@ -1,13 +1,6 @@
const parser = @import("../parser.zig");
pub const EventTarget = struct {
base: ?*parser.EventTarget = null,
pub fn init(base: ?*parser.EventTarget) EventTarget {
return .{ .base = base };
}
pub fn constructor() EventTarget {
return .{};
}
pub const Self = parser.EventTarget;
pub const mem_guarantied = true;
};