mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Removed AlwaysIncludeTarget from StaticHook
This commit is contained in:
parent
a225380467
commit
609aef0b0f
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace System;
|
||||
|
||||
[AttributeUsage(.Types | .Method, .AlwaysIncludeTarget)]
|
||||
[AttributeUsage(.Types | .Method)]
|
||||
public struct StaticHookAttribute : Attribute, IOnTypeInit
|
||||
{
|
||||
Type mSrcType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue