misc: update to latest odin compiler and remove android build tag

This commit is contained in:
2024-12-16 22:28:10 +02:00
parent e2740d76a5
commit 8604e76cdd
65 changed files with 5 additions and 70 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
//+build android
package android
import "core:c"
@@ -283,7 +282,7 @@ JNINativeInterface :: struct {
GetStringLength: #type proc "c" (jni: ^^JNINativeInterface, str: jstring) -> jsize,
GetStringChars: #type proc "c" (jni: ^^JNINativeInterface, str: jstring, isCopy: ^jboolean) -> [^]jchar,
ReleaseStringChars: #type proc "c" (jni: ^^JNINativeInterface, str: jstring, chars: [^]jchar),
NewStringUTF: #type proc "c" (jni: ^^JNINativeInterface, bytes: [^]c.char) -> jstring,
NewStringUTF: #type proc "c" (jni: ^^JNINativeInterface, bytes: cstring) -> jstring,
GetStringUTFLength: #type proc "c" (jni: ^^JNINativeInterface, str: jstring) -> jsize,
/* JNI spec says this returns const jbyte*, but that's inconsistent */
GetStringUTFChars: #type proc "c" (jni: ^^JNINativeInterface, str: jstring, isCopy: ^jboolean) -> cstring,