mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-08 03:50:46 +00:00
Changed signature of RemoveNativeSignatures.
This commit is contained in:
parent
7b65131fb5
commit
b420ce8735
|
@ -219,7 +219,7 @@ namespace OpenTK.Rewrite
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void RemoveNativeSignatures(TypeDefinition type, List<MethodDefinition> methods)
|
static void RemoveNativeSignatures(TypeDefinition type, IEnumerable<MethodDefinition> methods)
|
||||||
{
|
{
|
||||||
// Remove all DllImports for functions called through calli, since
|
// Remove all DllImports for functions called through calli, since
|
||||||
// their signatures are embedded directly into the calli callsite.
|
// their signatures are embedded directly into the calli callsite.
|
||||||
|
@ -516,7 +516,7 @@ namespace OpenTK.Rewrite
|
||||||
}
|
}
|
||||||
|
|
||||||
static void EmitParameterEpilogues(MethodDefinition wrapper, MethodDefinition native, MethodBody body, ILProcessor il,
|
static void EmitParameterEpilogues(MethodDefinition wrapper, MethodDefinition native, MethodBody body, ILProcessor il,
|
||||||
IReadOnlyCollection<GeneratedVariableIdentifier> generatedVariables)
|
List<GeneratedVariableIdentifier> generatedVariables)
|
||||||
{
|
{
|
||||||
foreach (var p in wrapper.Parameters)
|
foreach (var p in wrapper.Parameters)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue