Skip to content

Commit

Permalink
Fixing Transform Functions
Browse files Browse the repository at this point in the history
added manual file importer
added a progress bar in some cases for QoL
moved rename function into NameUtils
  • Loading branch information
curin committed Feb 4, 2025
1 parent 4fa353f commit 0d11394
Show file tree
Hide file tree
Showing 554 changed files with 84,861 additions and 28,337 deletions.
31 changes: 30 additions & 1 deletion generator.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"DefaultLicenseHeader": "eng/silktouch/header.txt",
"Mods": [
"ClangScraper",
"ManualFileImporter",
"ChangeNamespace",
"TransformInterfaces",
"TransformCOM",
Expand All @@ -25,8 +26,8 @@
"sources/Windows/um/httpserv/IHttpResponse4.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/httpserv/IHttpResponse4.cs",
"sources/Windows/um/httpserv/IHttpTraceContext.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/httpserv/IHttpTraceContext.cs",
"sources/Windows/um/httpserv/CHttpModule.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/httpserv/CHttpModule.cs",
"sources/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.cs",
"sources/Windows/um/winioctl/STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/winioctl/STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE.cs",
"sources/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/winioctl/TXFS_READ_BACKUP_INFORMATION_OUT.cs",
"sources/Windows/um/WinUser/Windows.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/WinUser/Windows.cs",
"sources/Windows/shared/strsafe/Windows.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/shared/strsafe/Windows.cs",
"sources/Windows/shared/ws2ipdef/Windows.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/shared/ws2ipdef/Windows.cs",
Expand All @@ -48,6 +49,34 @@
"tests/DirectX/d3dx12/d3dx12_barriers/**.cs"
]
},
"ManualFileImporter": {
"ManualImports": {
"sources/**.Manual.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/**.Manual.cs",
"!sources/**/INativeGuid.Manual.cs": "!**/INativeGuid.Manual.cs",
"!sources/**/ID2D1*.Manual.cs": "!**/ID2D1*.Manual.cs",
"!sources/**/d2d1_1helper/DirectX.Manual.cs": "!**/d2d1_1helper/DirectX.Manual.cs",
"!sources/**/DirectXHelpers/DirectX.Manual.cs": "!**/DirectXHelpers/DirectX.Manual.cs",
"!sources/**/d2d1/DirectX.Manual.cs": "!**/d2d1/DirectX.Manual.cs",
"!sources/**/IWeakReference.Manual.cs": "!**/IWeakReference.Manual.cs",
"!sources/**/IDispatchEx.Manual.cs": "!**/IDispatchEx.Manual.cs",
"!sources/**/CD3DX12_PIPELINE_STATE_STREAM_PARSE_HELPER.Manual.cs": "!**/CD3DX12_PIPELINE_STATE_STREAM_PARSE_HELPER.Manual.cs",
"!sources/**/CD3DX12_PIPELINE_STATE_STREAM1_PARSE_HELPER.Manual.cs": "!**/CD3DX12_PIPELINE_STATE_STREAM1_PARSE_HELPER.Manual.cs",
"!sources/**/CD3DX12_PIPELINE_STATE_STREAM2_PARSE_HELPER.Manual.cs": "!**/CD3DX12_PIPELINE_STATE_STREAM2_PARSE_HELPER.Manual.cs",
"!sources/**/CD3DX12_PIPELINE_STATE_STREAM3_PARSE_HELPER.Manual.cs": "!**/CD3DX12_PIPELINE_STATE_STREAM3_PARSE_HELPER.Manual.cs",
"!sources/**/CD3DX12_PIPELINE_STATE_STREAM4_PARSE_HELPER.Manual.cs": "!**/CD3DX12_PIPELINE_STATE_STREAM4_PARSE_HELPER.Manual.cs",
"!sources/**/CD3DX12_PIPELINE_STATE_STREAM5_PARSE_HELPER.Manual.cs": "!**/CD3DX12_PIPELINE_STATE_STREAM5_PARSE_HELPER.Manual.cs",
"!sources/**/ShObjIdl_core/Windows.Manual.cs": "!**/ShObjIdl_core/Windows.Manual.cs",
"!sources/**/propvarutil/Windows.Manual.cs": "!**/propvarutil/Windows.Manual.cs",
"!sources/**/uuids/Windows.Manual.cs": "!**/uuids/Windows.Manual.cs",
"!sources/**/gdipluscolor/Color.Manual.cs": "!**/gdipluscolor/Color.Manual.cs",
"!sources/**/windows.ui.input/IID.Manual.cs": "!**/windows.ui.input/IID.Manual.cs",
"!sources/**/windows.security.authentication.web.core/IID.Manual.cs": "!**/windows.security.authentication.web.core/IID.Manual.cs",
"!sources/**/roapi/WinRT.Manual.cs": "!**/roapi/WinRT.Manual.cs",
"!sources/**/windows.graphics.directx.direct3d11.interop/WinRT.Manual.cs": "!**/windows.graphics.directx.direct3d11.interop/WinRT.Manual.cs",
"!sources/**/roparameterizediid/**.Manual.cs": "!**/roparameterizediid/**.Manual.cs",
"!sources/**/d2d1_1/D2D1_**.Manual.cs": "!**/d2d1_1/D2D1_**.Manual.cs"
}
},
"ChangeNamespace": {
"Mappings": {
"TerraFX.Interop.Windows(.*)": "Silk.NET.Win32$1",
Expand Down
30 changes: 30 additions & 0 deletions sources/Core/Core/DSL/MaybeBool`1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,34 @@ public static implicit operator MaybeBool<T>(bool value)
/// <returns>The boolean value.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
public static implicit operator bool(MaybeBool<T> value) => !value.Value.Equals(default);

/// <summary>
/// compares boolean value and int
/// </summary>
/// <param name="lh"></param>
/// <param name="rh"></param>
/// <returns></returns>
public static bool operator ==(MaybeBool<T> lh, int rh) => lh == (rh != 0);
/// <summary>
/// Compares boolean value and int
/// </summary>
/// <param name="lh"></param>
/// <param name="rh"></param>
/// <returns></returns>
public static bool operator !=(MaybeBool<T> lh, int rh) => lh != (rh != 0);

/// <summary>
/// compares boolean value and int
/// </summary>
/// <param name="lh"></param>
/// <param name="rh"></param>
/// <returns></returns>
public static bool operator ==(int lh, MaybeBool<T> rh) => (lh != 0) == rh;
/// <summary>
/// Compares boolean value and int
/// </summary>
/// <param name="lh"></param>
/// <param name="rh"></param>
/// <returns></returns>
public static bool operator !=(int lh, MaybeBool<T> rh) => (lh != 0) != rh;
}
4 changes: 2 additions & 2 deletions sources/Core/Core/INativeInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ public unsafe interface INativeInterface
/// </summary>
/// <typeparam name="TNativeInterface">The native interface object type</typeparam>
/// <returns>pointer to interface object address </returns>
TNativeInterface** GetAddressOf<TNativeInterface>() where TNativeInterface : unmanaged;
Ptr2D<TNativeInterface> GetAddressOf<TNativeInterface>() where TNativeInterface : unmanaged;
/// <summary>
/// Gets the address of the pointer to the interface object address
/// </summary>
/// <returns>pointer to interface object address </returns>
void** GetAddressOf();
Ptr2D GetAddressOf();
}
}
36 changes: 36 additions & 0 deletions sources/Core/Core/Pointers/Ptr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,42 @@ public T[] ToArray<T>(int length)
)]
public static implicit operator void*(Ptr ptr) => ptr.Native;

/// <summary>
/// Creates a <see cref="nuint"/> from a <see cref="Ptr"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator nuint(Ptr ptr) => new(ptr.Native);

/// <summary>
/// Creates a <see cref="Ptr"/> from a <see cref="nuint"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator Ptr(nuint ptr) => new(ptr.ToPointer());

/// <summary>
/// Creates a <see cref="nint"/> from a <see cref="Ptr"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator nint(Ptr ptr) => new(ptr.Native);

/// <summary>
/// Creates a <see cref="Ptr"/> from a <see cref="nint"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator Ptr(nint ptr) => new(ptr.ToPointer());

/// <summary>
/// Creates a <see cref="Ref"/> from a <see cref="Ptr"/>
/// </summary>
Expand Down
37 changes: 37 additions & 0 deletions sources/Core/Core/Pointers/Ptr.generic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,43 @@ public unsafe struct Ptr<T>(T* ptr)
/// <param name="ptr"></param>
public static implicit operator T*(Ptr<T> ptr) => ptr.Native;


/// <summary>
/// Creates a <see cref="nuint"/> from a <see cref="Ptr{T}"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator nuint(Ptr<T> ptr) => new(ptr.Native);

/// <summary>
/// Creates a <see cref="Ptr"/> from a <see cref="nuint"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator Ptr<T>(nuint ptr) => new((T*)ptr.ToPointer());

/// <summary>
/// Creates a <see cref="nint"/> from a <see cref="Ptr{T}"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator nint(Ptr<T> ptr) => new(ptr.Native);

/// <summary>
/// Creates a <see cref="Ptr{T}"/> from a <see cref="nint"/>
/// </summary>
/// <param name="ptr"></param>
[MethodImpl(
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
)]
public static implicit operator Ptr<T>(nint ptr) => new((T*)ptr.ToPointer());

/// <summary>
/// Creates a <see cref="Ref{T}"/> from a <see cref="Ptr{T}"/>
/// </summary>
Expand Down
16 changes: 14 additions & 2 deletions sources/Core/Core/PublicAPI/net8.0/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Silk.NET.Core.IGLContext.SwapInterval(int interval) -> void
Silk.NET.Core.INativeGuid
Silk.NET.Core.INativeGuid.NativeGuid.get -> System.Guid*
Silk.NET.Core.INativeInterface
Silk.NET.Core.INativeInterface.GetAddressOf() -> void**
Silk.NET.Core.INativeInterface.GetAddressOf<TNativeInterface>() -> TNativeInterface**
Silk.NET.Core.INativeInterface.GetAddressOf() -> Silk.NET.Core.Ptr2D
Silk.NET.Core.INativeInterface.GetAddressOf<TNativeInterface>() -> Silk.NET.Core.Ptr2D<TNativeInterface>
Silk.NET.Core.Loader.DefaultNativeContext
Silk.NET.Core.Loader.DefaultNativeContext.DefaultNativeContext() -> void
Silk.NET.Core.Loader.DefaultNativeContext.Dispose() -> void
Expand Down Expand Up @@ -263,6 +263,10 @@ static Silk.NET.Core.MaybeBool<T>.implicit operator bool(Silk.NET.Core.MaybeBool
static Silk.NET.Core.MaybeBool<T>.implicit operator Silk.NET.Core.MaybeBool<T>(bool value) -> Silk.NET.Core.MaybeBool<T>
static Silk.NET.Core.MaybeBool<T>.implicit operator Silk.NET.Core.MaybeBool<T>(T Value) -> Silk.NET.Core.MaybeBool<T>
static Silk.NET.Core.MaybeBool<T>.implicit operator T(Silk.NET.Core.MaybeBool<T> value) -> T
static Silk.NET.Core.MaybeBool<T>.operator !=(int lh, Silk.NET.Core.MaybeBool<T> rh) -> bool
static Silk.NET.Core.MaybeBool<T>.operator !=(Silk.NET.Core.MaybeBool<T> lh, int rh) -> bool
static Silk.NET.Core.MaybeBool<T>.operator ==(int lh, Silk.NET.Core.MaybeBool<T> rh) -> bool
static Silk.NET.Core.MaybeBool<T>.operator ==(Silk.NET.Core.MaybeBool<T> lh, int rh) -> bool
static Silk.NET.Core.NullPtr.implicit operator void*(Silk.NET.Core.NullPtr _) -> void*
static Silk.NET.Core.PointerExtensions.ReadToString(this Silk.NET.Core.Ptr<byte> this) -> string!
static Silk.NET.Core.PointerExtensions.ReadToString(this Silk.NET.Core.Ptr<byte> this, int length) -> string!
Expand Down Expand Up @@ -322,6 +326,10 @@ static Silk.NET.Core.PointerExtensions.ReadToStringArray(this Silk.NET.Core.Ref3
static Silk.NET.Core.PointerExtensions.ReadToStringArray(this Silk.NET.Core.Ref3D<ushort> this, int length, int[]! lengths) -> string?[]?[]?
static Silk.NET.Core.Ptr.explicit operator Silk.NET.Core.Ptr(Silk.NET.Core.Ref ptr) -> Silk.NET.Core.Ptr
static Silk.NET.Core.Ptr.explicit operator string!(Silk.NET.Core.Ptr ptr) -> string!
static Silk.NET.Core.Ptr.implicit operator nint(Silk.NET.Core.Ptr ptr) -> nint
static Silk.NET.Core.Ptr.implicit operator nuint(Silk.NET.Core.Ptr ptr) -> nuint
static Silk.NET.Core.Ptr.implicit operator Silk.NET.Core.Ptr(nint ptr) -> Silk.NET.Core.Ptr
static Silk.NET.Core.Ptr.implicit operator Silk.NET.Core.Ptr(nuint ptr) -> Silk.NET.Core.Ptr
static Silk.NET.Core.Ptr.implicit operator Silk.NET.Core.Ptr(Silk.NET.Core.NullPtr ptr) -> Silk.NET.Core.Ptr
static Silk.NET.Core.Ptr.implicit operator Silk.NET.Core.Ptr(void* ptr) -> Silk.NET.Core.Ptr
static Silk.NET.Core.Ptr.implicit operator Silk.NET.Core.Ref(Silk.NET.Core.Ptr ptr) -> Silk.NET.Core.Ref
Expand Down Expand Up @@ -489,7 +497,11 @@ static Silk.NET.Core.Ptr3D<T>.operator ==(void* lh, Silk.NET.Core.Ptr3D<T> rh) -
static Silk.NET.Core.Ptr3D<T>.operator ==(void** lh, Silk.NET.Core.Ptr3D<T> rh) -> bool
static Silk.NET.Core.Ptr<T>.explicit operator Silk.NET.Core.Ptr<T>(Silk.NET.Core.Ref<T> ptr) -> Silk.NET.Core.Ptr<T>
static Silk.NET.Core.Ptr<T>.explicit operator string!(Silk.NET.Core.Ptr<T> ptr) -> string!
static Silk.NET.Core.Ptr<T>.implicit operator nint(Silk.NET.Core.Ptr<T> ptr) -> nint
static Silk.NET.Core.Ptr<T>.implicit operator nuint(Silk.NET.Core.Ptr<T> ptr) -> nuint
static Silk.NET.Core.Ptr<T>.implicit operator Silk.NET.Core.Ptr(Silk.NET.Core.Ptr<T> ptr) -> Silk.NET.Core.Ptr
static Silk.NET.Core.Ptr<T>.implicit operator Silk.NET.Core.Ptr<T>(nint ptr) -> Silk.NET.Core.Ptr<T>
static Silk.NET.Core.Ptr<T>.implicit operator Silk.NET.Core.Ptr<T>(nuint ptr) -> Silk.NET.Core.Ptr<T>
static Silk.NET.Core.Ptr<T>.implicit operator Silk.NET.Core.Ptr<T>(Silk.NET.Core.NullPtr ptr) -> Silk.NET.Core.Ptr<T>
static Silk.NET.Core.Ptr<T>.implicit operator Silk.NET.Core.Ptr<T>(Silk.NET.Core.Ptr ptr) -> Silk.NET.Core.Ptr<T>
static Silk.NET.Core.Ptr<T>.implicit operator Silk.NET.Core.Ptr<T>(T* ptr) -> Silk.NET.Core.Ptr<T>
Expand Down
8 changes: 6 additions & 2 deletions sources/SilkTouch/SilkTouch/Clang/ClangScraper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.IO;
using System.IO.Hashing;
using System.Linq;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Threading;
Expand All @@ -23,6 +24,7 @@
using Silk.NET.SilkTouch.Caching;
using Silk.NET.SilkTouch.Mods;
using Silk.NET.SilkTouch.Sources;
using Silk.NET.SilkTouch.Utility;
using static ClangSharp.Interop.CXDiagnosticSeverity;
using static ClangSharp.Interop.CXErrorCode;

Expand Down Expand Up @@ -160,7 +162,9 @@ out var handle
if (translationUnitError != CXError_Success)
{
var msg = $"Parsing failed for '{fileName}' due to '{translationUnitError}'.";

logger.LogError(msg);

skipProcessing = true;
}
else if (handle.NumDiagnostics != 0)
Expand All @@ -172,8 +176,7 @@ out var handle
using var diagnostic = handle.GetDiagnostic(i);

logger.Log(
diagnostic.Severity switch
{
diagnostic.Severity switch {
CXDiagnostic_Ignored => LogLevel.Trace,
CXDiagnostic_Note => LogLevel.Debug,
CXDiagnostic_Warning => LogLevel.Warning,
Expand Down Expand Up @@ -210,6 +213,7 @@ out var handle
rspIndex,
rspCount
);

pinvokeGenerator.GenerateBindings(
translationUnit,
filePath,
Expand Down
33 changes: 26 additions & 7 deletions sources/SilkTouch/SilkTouch/Clang/ResponseFileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using ClangSharp;
using Microsoft.Extensions.FileSystemGlobbing;
using Microsoft.Extensions.Logging;
using Silk.NET.SilkTouch.Utility;
using static ClangSharp.Interop.CXTranslationUnit_Flags;

namespace Silk.NET.SilkTouch.Clang;
Expand Down Expand Up @@ -1355,6 +1356,7 @@ out Dictionary<string, string> withPackings
{
foreach (var error in errorList)
{
ProgressBarUtility.Hide(LogLevel.Information);
logger.LogError($"Error in args for '{files.FirstOrDefault()}': {error}");
}
}
Expand Down Expand Up @@ -1492,18 +1494,28 @@ IReadOnlyList<string> globs
directory,
Environment.CurrentDirectory
);
foreach (var rsp in Glob(globs))
IEnumerable<string> rsps = Glob(globs);
int index = 0;
int count = rsps.Count();
ProgressBarUtility.SetPercentage(0);
ProgressBarUtility.Show(LogLevel.Information);
foreach (var rsp in rsps)
{
index++;
logger.LogDebug("Reading found file: {0}", rsp);
var dir =
Path.GetDirectoryName(rsp)
?? throw new InvalidOperationException("Couldn't get directory name of path");
var read = ReadResponseFile(RspRelativeTo(dir, rsp).ToArray(), dir, rsp);

ProgressBarUtility.SetPercentage(index / (float)count);
yield return read with
{
FileDirectory = dir,
};
}

ProgressBarUtility.Hide(LogLevel.Information);
}

private IEnumerable<string> RspRelativeTo(string directory, string fullPath)
Expand Down Expand Up @@ -1545,12 +1557,7 @@ internal static string PathFixup(string path)
internal static IEnumerable<string> Glob(IReadOnlyCollection<string> paths, string? cd = null)
{
cd ??= Environment.CurrentDirectory;
var matcher = new Matcher();

matcher.AddIncludePatterns(paths.Where(x => !x.StartsWith("!")).Select(PathFixup));
matcher.AddExcludePatterns(
paths.Where(x => x.StartsWith("!")).Select(x => x[1..]).Select(PathFixup)
);
var matcher = GetGlobMatcher(paths);

return matcher
.GetResultsInFullPath(cd)
Expand All @@ -1568,4 +1575,16 @@ internal static IEnumerable<string> Glob(IReadOnlyCollection<string> paths, stri
.Distinct()
.ToArray();
}

internal static Matcher GetGlobMatcher(IReadOnlyCollection<string> paths)
{
var matcher = new Matcher();

matcher.AddIncludePatterns(paths.Where(x => !x.StartsWith("!")).Select(PathFixup));
matcher.AddExcludePatterns(
paths.Where(x => x.StartsWith("!")).Select(x => x[1..]).Select(PathFixup)
);

return matcher;
}
}
8 changes: 7 additions & 1 deletion sources/SilkTouch/SilkTouch/Mods/ChangeNamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Logging;
using Silk.NET.SilkTouch.Clang;
using Silk.NET.SilkTouch.Utility;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;

namespace Silk.NET.SilkTouch.Mods;
Expand Down Expand Up @@ -45,6 +47,8 @@ public Task<List<ResponseFile>> BeforeScrapeAsync(string key, List<ResponseFile>
config.Get(key).Mappings?.Select(kvp => (new Regex(kvp.Key), kvp.Value)).ToArray()
?? Array.Empty<(Regex, string)>();
var tmp = Path.GetTempFileName();
ProgressBarUtility.SetPercentage(0);
ProgressBarUtility.Show(LogLevel.Information);
for (var i = 0; i < rsps.Count; i++)
{
var rsp = rsps[i];
Expand Down Expand Up @@ -97,8 +101,10 @@ public Task<List<ResponseFile>> BeforeScrapeAsync(string key, List<ResponseFile>
WithPackings = rsp.GeneratorConfiguration.WithPackings,
}
};
}

ProgressBarUtility.SetPercentage(i / (float)rsps.Count);
}
ProgressBarUtility.Hide(LogLevel.Information);
_jobs[key] = (
rsps.Select(x => x.GeneratorConfiguration.DefaultNamespace)
.Concat(
Expand Down
1 change: 1 addition & 0 deletions sources/SilkTouch/SilkTouch/Mods/Common/ModLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class ModLoader
nameof(TransformInterfaces) => typeof(TransformInterfaces),
nameof(TransformCOM) => typeof(TransformCOM),
nameof(DisableWarnings) => typeof(DisableWarnings),
nameof(ManualFileImporter) => typeof(ManualFileImporter),
_ => null,
};
}
Loading

0 comments on commit 0d11394

Please sign in to comment.