From 609aef0b0f9cc8cdab1c1d0e996d83ddeac9e695 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 17 Jan 2025 11:44:33 -0800 Subject: [PATCH] Removed AlwaysIncludeTarget from StaticHook --- BeefLibs/corlib/src/IO/Pipe.bf | 2 +- BeefLibs/corlib/src/StaticHookAttribute.bf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BeefLibs/corlib/src/IO/Pipe.bf b/BeefLibs/corlib/src/IO/Pipe.bf index 6e12d4fb..005fa00b 100644 --- a/BeefLibs/corlib/src/IO/Pipe.bf +++ b/BeefLibs/corlib/src/IO/Pipe.bf @@ -83,7 +83,7 @@ namespace System.IO Platform.BfpFileAttributes fileFlags = .Normal; Platform.BfpFileResult fileResult = .Ok; - mBfpFile = Platform.Hook.sBfpFile_Create(path, createKind, createFlags, fileFlags, &fileResult); + mBfpFile = Platform.Hook.BfpFile_Create(path, createKind, createFlags, fileFlags, &fileResult); if ((mBfpFile == null) || (fileResult != .Ok)) { diff --git a/BeefLibs/corlib/src/StaticHookAttribute.bf b/BeefLibs/corlib/src/StaticHookAttribute.bf index 27476383..fae81a5a 100644 --- a/BeefLibs/corlib/src/StaticHookAttribute.bf +++ b/BeefLibs/corlib/src/StaticHookAttribute.bf @@ -1,6 +1,6 @@ namespace System; -[AttributeUsage(.Types | .Method, .AlwaysIncludeTarget)] +[AttributeUsage(.Types | .Method)] public struct StaticHookAttribute : Attribute, IOnTypeInit { Type mSrcType;