From f93c9a86e89e658c46b25a7571d8bff69ec7450f Mon Sep 17 00:00:00 2001
From: Striven <sg.striven@cutecat.club>
Date: Sat, 31 Jan 2026 18:36:44 +0000
Subject: [PATCH] Update minhook-zig, export minhook
---
src/hook_singleton.zig | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/hook_singleton.zig b/src/hook_singleton.zig
index 849fc70..aa7863d 100644
--- a/src/hook_singleton.zig
+++ b/src/hook_singleton.zig
@@ -4,7 +4,11 @@
const memory = @import("memory.zig");
-pub fn HookSingleton(comptime log_scope: @Type(.enum_literal), comptime function_ref: memory.Function, comptime detour_function: anytype) type {
+pub fn HookSingleton(
+ comptime log_scope: @Type(.enum_literal),
+ comptime function_ref: memory.Function,
+ comptime detour_function: anytype,
+) type {
return struct {
pub const scope = log_scope;
pub const log = std.log.scoped(log_scope);
--
Gitblit v1.10.0