Skip to content

Commit

Permalink
Fix some names.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Sep 17, 2023
1 parent 9a27074 commit c1e24d8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/IKVM.Runtime/JNI/JNIEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ internal ManagedJNIEnv(RuntimeContext context)

JNIMemory.Free((nint)(void*)pJNIEnv);
}

}

internal struct FrameState
Expand Down Expand Up @@ -420,12 +419,12 @@ internal static string DecodeMUTF8(byte* psz)
/// Outputs an encoded signature of the arguments available to the method.
/// </summary>
/// <param name="pEnv"></param>
/// <param name="method"></param>
/// <param name="methodID"></param>
/// <param name="sig"></param>
/// <returns></returns>
internal static int GetMethodArgs(JNIEnv* pEnv, jmethodID method, byte* sig)
internal static int GetMethodArgs(JNIEnv* pEnv, jmethodID methodID, byte* sig)
{
var args = RuntimeJavaMethod.FromCookie(method).GetParameters();
var args = RuntimeJavaMethod.FromCookie(methodID).GetParameters();
for (var i = 0; i < args.Length; i++)
sig[i] = args[i].IsPrimitive ? (byte)args[i].SigName[0] : (byte)'L';

Expand Down

0 comments on commit c1e24d8

Please sign in to comment.