Skip to content

Commit

Permalink
12313732
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Sep 3, 2024
1 parent d9340b9 commit 0a3d32e
Show file tree
Hide file tree
Showing 5 changed files with 285 additions and 353 deletions.
2 changes: 1 addition & 1 deletion ndk-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ndk-sys"
version = "0.6.0+12211873"
version = "0.6.0+12313732"
authors = ["The Rust Windowing contributors"]
edition = "2021"
description = "FFI bindings for the Android NDK"
Expand Down
159 changes: 71 additions & 88 deletions ndk-sys/src/ffi_aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,7 @@ pub const SS_FLAG_BITS: u32 = 2147483648;
pub const _NSIG: u32 = 65;
pub const NSIG: u32 = 65;
pub const NGREG: u32 = 34;
pub const SIG2STR_MAX: u32 = 32;
pub const FD_SETSIZE: u32 = 1024;
pub const F_ULOCK: u32 = 0;
pub const F_LOCK: u32 = 1;
Expand Down Expand Up @@ -5876,34 +5877,6 @@ extern "C" {
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strtol(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn strtoll(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtoul(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strtoull(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn posix_memalign(
__memptr: *mut *mut ::std::os::raw::c_void,
Expand All @@ -5917,35 +5890,6 @@ extern "C" {
__size: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn strtod(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn strtold(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
) -> u128;
}
extern "C" {
pub fn strtoul_l(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
__l: locale_t,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn atoi(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn atol(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn atoll(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn realpath(
__path: *const ::std::os::raw::c_char,
Expand Down Expand Up @@ -6165,15 +6109,6 @@ extern "C" {
extern "C" {
pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtof(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
) -> f32;
}
extern "C" {
pub fn atof(__s: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn rand() -> ::std::os::raw::c_int;
}
Expand All @@ -6189,6 +6124,32 @@ extern "C" {
extern "C" {
pub fn grantpt(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn atof(__s: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn atoi(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn atol(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn atoll(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtol(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn strtoll(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtoll_l(
__s: *const ::std::os::raw::c_char,
Expand All @@ -6197,6 +6158,20 @@ extern "C" {
__l: locale_t,
) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtoul(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strtoull(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn strtoull_l(
__s: *const ::std::os::raw::c_char,
Expand All @@ -6205,6 +6180,24 @@ extern "C" {
__l: locale_t,
) -> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn strtof(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
) -> f32;
}
extern "C" {
pub fn strtod(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn strtold(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
) -> u128;
}
extern "C" {
pub fn strtold_l(
__s: *const ::std::os::raw::c_char,
Expand All @@ -6226,14 +6219,6 @@ extern "C" {
__l: locale_t,
) -> f32;
}
extern "C" {
pub fn strtol_l(
__s: *const ::std::os::raw::c_char,
__end_ptr: *mut *mut ::std::os::raw::c_char,
arg1: ::std::os::raw::c_int,
__l: locale_t,
) -> ::std::os::raw::c_long;
}
pub type net_handle_t = u64;
extern "C" {
pub fn android_setsocknetwork(
Expand Down Expand Up @@ -8821,6 +8806,18 @@ extern "C" {
pub fn sigwaitinfo64(__set: *const sigset64_t, __info: *mut siginfo_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sig2str(
__signal: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn str2sig(
__name: *const ::std::os::raw::c_char,
__signal: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
pub type fd_mask = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
Expand Down Expand Up @@ -11153,12 +11150,6 @@ extern "C" {
extern "C" {
pub fn strerror(__errno_value: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strerror_l(
__errno_value: ::std::os::raw::c_int,
__l: locale_t,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strerror_r(
__errno_value: ::std::os::raw::c_int,
Expand Down Expand Up @@ -11673,14 +11664,6 @@ extern "C" {
__tm: *mut tm,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strptime_l(
__s: *const ::std::os::raw::c_char,
__fmt: *const ::std::os::raw::c_char,
__tm: *mut tm,
__l: locale_t,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strftime(
__buf: *mut ::std::os::raw::c_char,
Expand Down
Loading

0 comments on commit 0a3d32e

Please sign in to comment.