userctx: inject user context

This commit is contained in:
Pierre Tachoire
2024-04-16 12:06:29 +02:00
parent c1b73dfdc2
commit e18d04a799
10 changed files with 31 additions and 4 deletions

6
src/user_context.zig Normal file
View File

@@ -0,0 +1,6 @@
const std = @import("std");
const parser = @import("netsurf.zig");
pub const UserContext = struct {
document: ?*parser.DocumentHTML,
};