runtime hooks
This commit is contained in:
@@ -9,9 +9,13 @@ pub fn init(alloc: std.mem.Allocator) !void {
|
||||
_ = alloc;
|
||||
}
|
||||
|
||||
pub fn connect() !void {
|
||||
try ImGui.hooks.frame.register(nu_imgui_frame);
|
||||
}
|
||||
|
||||
pub fn deinit() void {}
|
||||
|
||||
pub fn nu_frame() void {}
|
||||
// pub fn nu_frame() void {}
|
||||
|
||||
// pub fn nu_events(events: []const Bus.Event) void {
|
||||
// std.debug.print("{any}\n", .{events});
|
||||
|
Reference in New Issue
Block a user