mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
describeNode feedback
This commit is contained in:
@@ -122,28 +122,12 @@ const Inspector = struct {
|
||||
_ = value;
|
||||
return RemoteObject{};
|
||||
}
|
||||
pub fn getValueByObjectId(self: Inspector, alloc: std.mem.Allocator, executor: *const Executor, object_id: []const u8) !Value {
|
||||
pub fn getNodePtr(self: Inspector, alloc: std.mem.Allocator, object_id: []const u8) !?*anyopaque {
|
||||
_ = self;
|
||||
_ = alloc;
|
||||
_ = executor;
|
||||
_ = object_id;
|
||||
return .{};
|
||||
return try alloc.create(i32);
|
||||
}
|
||||
};
|
||||
const Value = struct {
|
||||
pub fn taggedAnyOpaque(self: Value) ?*TaggedAnyOpaque {
|
||||
_ = self;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
const TaggedAnyOpaque = struct {
|
||||
ptr: *anyopaque,
|
||||
subtype: ?SubType = .node,
|
||||
};
|
||||
|
||||
const SubType = enum {
|
||||
node,
|
||||
};
|
||||
|
||||
const RemoteObject = struct {
|
||||
pub fn deinit(self: RemoteObject) void {
|
||||
|
||||
Reference in New Issue
Block a user