Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/tasks/AndroidAppBuilder/Templates/monodroid-nativeaot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ internal unsafe struct JNIEnv
{
fixed (JNIEnv* thisptr = &this)
{
byte* chars = NativeInterface->GetStringUTFChars(thisptr, str, out byte isCopy);
byte isCopy;
Comment thread
Copilot marked this conversation as resolved.
Outdated
byte* chars = NativeInterface->GetStringUTFChars(thisptr, str, &isCopy);
Comment thread
sbomer marked this conversation as resolved.
Outdated
if (chars is null)
return null;

Expand Down Expand Up @@ -383,7 +384,7 @@ unsafe struct JNINativeInterface

void* NewStringUTF;
delegate* unmanaged[Cdecl]<JNIEnv*, JString, int> GetStringUTFLength;
public delegate* unmanaged[Cdecl]<JNIEnv*, JString, out byte, byte*> GetStringUTFChars;
public delegate* unmanaged[Cdecl]<JNIEnv*, JString, byte*, byte*> GetStringUTFChars;
public delegate* unmanaged[Cdecl]<JNIEnv*, JString, byte*, void> ReleaseStringUTFChars;
public delegate* unmanaged[Cdecl]<JNIEnv*, JObjectArray, JSize> GetArrayLength;

Expand Down
Loading