mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 17:38:10 +00:00
Applies changes from jsruntime Self and mem_guaranteed
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user