1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Removed AlwaysIncludeTarget from StaticHook

This commit is contained in:
Brian Fiete 2025-01-17 11:44:33 -08:00
parent a225380467
commit 609aef0b0f
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ namespace System.IO
Platform.BfpFileAttributes fileFlags = .Normal; Platform.BfpFileAttributes fileFlags = .Normal;
Platform.BfpFileResult fileResult = .Ok; 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)) if ((mBfpFile == null) || (fileResult != .Ok))
{ {

View file

@ -1,6 +1,6 @@
namespace System; namespace System;
[AttributeUsage(.Types | .Method, .AlwaysIncludeTarget)] [AttributeUsage(.Types | .Method)]
public struct StaticHookAttribute : Attribute, IOnTypeInit public struct StaticHookAttribute : Attribute, IOnTypeInit
{ {
Type mSrcType; Type mSrcType;