From d249ea1961bd1ed7175f8d65bd18969aaad6db13 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 8 Oct 2024 20:50:24 +0200 Subject: [PATCH] 12470952 --- ndk-sys/Cargo.toml | 2 +- ndk-sys/src/ffi_aarch64.rs | 7 +++++++ ndk-sys/src/ffi_arm.rs | 7 +++++++ ndk-sys/src/ffi_i686.rs | 7 +++++++ ndk-sys/src/ffi_x86_64.rs | 7 +++++++ 5 files changed, 29 insertions(+), 1 deletion(-) diff --git a/ndk-sys/Cargo.toml b/ndk-sys/Cargo.toml index 83c4528c..81b3a921 100644 --- a/ndk-sys/Cargo.toml +++ b/ndk-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ndk-sys" -version = "0.6.0+12313732" +version = "0.6.0+12470952" authors = ["The Rust Windowing contributors"] edition = "2021" description = "FFI bindings for the Android NDK" diff --git a/ndk-sys/src/ffi_aarch64.rs b/ndk-sys/src/ffi_aarch64.rs index a577ae2d..fd560614 100644 --- a/ndk-sys/src/ffi_aarch64.rs +++ b/ndk-sys/src/ffi_aarch64.rs @@ -15926,6 +15926,13 @@ extern "C" { tags: *mut *const u32, ) -> camera_status_t; } +extern "C" { + pub fn ACameraMetadata_getTagFromName( + metadata: *const ACameraMetadata, + name: *const ::std::os::raw::c_char, + tag: *mut u32, + ) -> camera_status_t; +} extern "C" { pub fn ACameraMetadata_copy(src: *const ACameraMetadata) -> *mut ACameraMetadata; } diff --git a/ndk-sys/src/ffi_arm.rs b/ndk-sys/src/ffi_arm.rs index fbb9cc4f..549cf9f4 100644 --- a/ndk-sys/src/ffi_arm.rs +++ b/ndk-sys/src/ffi_arm.rs @@ -16097,6 +16097,13 @@ extern "C" { tags: *mut *const u32, ) -> camera_status_t; } +extern "C" { + pub fn ACameraMetadata_getTagFromName( + metadata: *const ACameraMetadata, + name: *const ::std::os::raw::c_char, + tag: *mut u32, + ) -> camera_status_t; +} extern "C" { pub fn ACameraMetadata_copy(src: *const ACameraMetadata) -> *mut ACameraMetadata; } diff --git a/ndk-sys/src/ffi_i686.rs b/ndk-sys/src/ffi_i686.rs index 90b96687..a82dae8f 100644 --- a/ndk-sys/src/ffi_i686.rs +++ b/ndk-sys/src/ffi_i686.rs @@ -16391,6 +16391,13 @@ extern "C" { tags: *mut *const u32, ) -> camera_status_t; } +extern "C" { + pub fn ACameraMetadata_getTagFromName( + metadata: *const ACameraMetadata, + name: *const ::std::os::raw::c_char, + tag: *mut u32, + ) -> camera_status_t; +} extern "C" { pub fn ACameraMetadata_copy(src: *const ACameraMetadata) -> *mut ACameraMetadata; } diff --git a/ndk-sys/src/ffi_x86_64.rs b/ndk-sys/src/ffi_x86_64.rs index 378bf587..a30c8379 100644 --- a/ndk-sys/src/ffi_x86_64.rs +++ b/ndk-sys/src/ffi_x86_64.rs @@ -16431,6 +16431,13 @@ extern "C" { tags: *mut *const u32, ) -> camera_status_t; } +extern "C" { + pub fn ACameraMetadata_getTagFromName( + metadata: *const ACameraMetadata, + name: *const ::std::os::raw::c_char, + tag: *mut u32, + ) -> camera_status_t; +} extern "C" { pub fn ACameraMetadata_copy(src: *const ACameraMetadata) -> *mut ACameraMetadata; }