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
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package aaudio
foreign import aaudio "system:aaudio"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package amidi
foreign import amidi "system:amidi"
+4 -5
View File
@@ -1,8 +1,7 @@
//+build android
package android
import "core:c"
import "core:sys/unix"
import "core:sys/posix"
foreign import android "system:android"
@@ -182,13 +181,13 @@ android_app :: struct {
// -------------------------------------------------
// Below are "private" implementation of the glue code.
mutex: unix.pthread_mutex_t,
cond: unix.pthread_cond_t,
mutex: posix.pthread_mutex_t,
cond: posix.pthread_cond_t,
msgread: c.int,
msgwrite: c.int,
thread: unix.pthread_t,
thread: posix.pthread_t,
cmdPollSource: android_poll_source,
inputPollSource: android_poll_source,
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
import "core:c"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
foreign import camerandk "system:camera2ndk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
foreign import camerandk "system:camera2ndk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
foreign import camerandk "system:camera2ndk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
import "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
acamera_metadata_section_t :: enum {
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
import "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package camerandk
foreign import camerandk "system:camera2ndk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
import "core:c"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
+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,
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
Keycode :: enum i32 {
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
import "core:c"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
import "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
import "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
import android "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
foreign import mediandk "system:mediandk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
import "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
foreign import mediandk "system:mediandk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
import "../"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
foreign import mediandk "system:mediandk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package mediandk
foreign import mediandk "system:mediandk"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
/**
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
import "core:c"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
foreign import android "system:android"
-1
View File
@@ -1,4 +1,3 @@
//+build android
package android
/**