mirror of
https://github.com/IllusionMan1212/ndk-odin.git
synced 2026-10-24 10:12:30 +00:00
misc: update to latest odin compiler and remove android build tag
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package aaudio
|
||||
|
||||
foreign import aaudio "system:aaudio"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package amidi
|
||||
|
||||
foreign import amidi "system:amidi"
|
||||
|
||||
@@ -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,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
import "core:c"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
foreign import camerandk "system:camera2ndk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
foreign import camerandk "system:camera2ndk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
foreign import camerandk "system:camera2ndk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
import "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
acamera_metadata_section_t :: enum {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
import "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package camerandk
|
||||
|
||||
foreign import camerandk "system:camera2ndk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
import "core:c"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -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,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
Keycode :: enum i32 {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
import "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
import "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
import android "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
foreign import mediandk "system:mediandk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
import "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
foreign import mediandk "system:mediandk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
import "../"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
foreign import mediandk "system:mediandk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package mediandk
|
||||
|
||||
foreign import mediandk "system:mediandk"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
foreign import android "system:android"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//+build android
|
||||
package android
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user