pub const _STDINT_H: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC23: u32 = 0;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 200809;
pub const __USE_POSIX: u32 = 1;
pub const __USE_POSIX2: u32 = 1;
pub const __USE_POSIX199309: u32 = 1;
pub const __USE_POSIX199506: u32 = 1;
pub const __USE_XOPEN2K: u32 = 1;
pub const __USE_XOPEN2K8: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
pub const __SYSCALL_WORDSIZE: u32 = 64;
pub const __TIMESIZE: u32 = 64;
pub const __USE_TIME_BITS64: u32 = 1;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
pub const __GLIBC_USE_C23_STRTOL: u32 = 0;
pub const _STDC_PREDEF_H: u32 = 1;
pub const __STDC_IEC_559__: u32 = 1;
pub const __STDC_IEC_60559_BFP__: u32 = 201404;
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 40;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23: u32 = 0;
pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23: u32 = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
pub const _BITS_TYPES_H: u32 = 1;
pub const _BITS_TYPESIZES_H: u32 = 1;
pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
pub const __INO_T_MATCHES_INO64_T: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
pub const __STATFS_MATCHES_STATFS64: u32 = 1;
pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const _BITS_WCHAR_H: u32 = 1;
pub const _BITS_STDINT_INTN_H: u32 = 1;
pub const _BITS_STDINT_UINTN_H: u32 = 1;
pub const _BITS_STDINT_LEAST_H: u32 = 1;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i64 = -9223372036854775808;
pub const INT_FAST32_MIN: i64 = -9223372036854775808;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u64 = 9223372036854775807;
pub const INT_FAST32_MAX: u64 = 9223372036854775807;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: i32 = -1;
pub const UINT_FAST32_MAX: i32 = -1;
pub const INTPTR_MIN: i64 = -9223372036854775808;
pub const INTPTR_MAX: u64 = 9223372036854775807;
pub const UINTPTR_MAX: i32 = -1;
pub const PTRDIFF_MIN: i64 = -9223372036854775808;
pub const PTRDIFF_MAX: u64 = 9223372036854775807;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const SIZE_MAX: i32 = -1;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 4294967295;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub type wchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[repr(align(16))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
pub __bindgen_padding_0: u64,
pub __clang_max_align_nonce2: u128,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of max_align_t"][::std::mem::size_of::<max_align_t>() - 32usize];
["Alignment of max_align_t"][::std::mem::align_of::<max_align_t>() - 16usize];
["Offset of field: max_align_t::__clang_max_align_nonce1"]
[::std::mem::offset_of!(max_align_t, __clang_max_align_nonce1) - 0usize];
["Offset of field: max_align_t::__clang_max_align_nonce2"]
[::std::mem::offset_of!(max_align_t, __clang_max_align_nonce2) - 16usize];
};
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __intmax_t = ::std::os::raw::c_long;
pub type __uintmax_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
pub __val: [::std::os::raw::c_int; 2usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of __fsid_t"][::std::mem::size_of::<__fsid_t>() - 8usize];
["Alignment of __fsid_t"][::std::mem::align_of::<__fsid_t>() - 4usize];
["Offset of field: __fsid_t::__val"][::std::mem::offset_of!(__fsid_t, __val) - 0usize];
};
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __suseconds64_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type __sig_atomic_t = ::std::os::raw::c_int;
pub type int_least8_t = __int_least8_t;
pub type int_least16_t = __int_least16_t;
pub type int_least32_t = __int_least32_t;
pub type int_least64_t = __int_least64_t;
pub type uint_least8_t = __uint_least8_t;
pub type uint_least16_t = __uint_least16_t;
pub type uint_least32_t = __uint_least32_t;
pub type uint_least64_t = __uint_least64_t;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
pub type BQNV = u64;
extern "C" {
pub fn bqn_init();
}
extern "C" {
pub fn bqn_free(v: BQNV);
}
extern "C" {
pub fn bqn_copy(v: BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_toF64(v: BQNV) -> f64;
}
extern "C" {
pub fn bqn_toChar(v: BQNV) -> u32;
}
extern "C" {
pub fn bqn_readF64(v: BQNV) -> f64;
}
extern "C" {
pub fn bqn_readChar(v: BQNV) -> u32;
}
extern "C" {
pub fn bqn_type(v: BQNV) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bqn_call1(f: BQNV, x: BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_call2(f: BQNV, w: BQNV, x: BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_eval(src: BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_evalCStr(str_: *const ::std::os::raw::c_char) -> BQNV;
}
extern "C" {
pub fn bqn_bound(a: BQNV) -> usize;
}
extern "C" {
pub fn bqn_rank(a: BQNV) -> usize;
}
extern "C" {
pub fn bqn_shape(a: BQNV, buf: *mut usize);
}
extern "C" {
pub fn bqn_pick(a: BQNV, pos: usize) -> BQNV;
}
extern "C" {
pub fn bqn_readI8Arr(a: BQNV, buf: *mut i8);
}
extern "C" {
pub fn bqn_readI16Arr(a: BQNV, buf: *mut i16);
}
extern "C" {
pub fn bqn_readI32Arr(a: BQNV, buf: *mut i32);
}
extern "C" {
pub fn bqn_readF64Arr(a: BQNV, buf: *mut f64);
}
extern "C" {
pub fn bqn_readC8Arr(a: BQNV, buf: *mut u8);
}
extern "C" {
pub fn bqn_readC16Arr(a: BQNV, buf: *mut u16);
}
extern "C" {
pub fn bqn_readC32Arr(a: BQNV, buf: *mut u32);
}
extern "C" {
pub fn bqn_readObjArr(a: BQNV, buf: *mut BQNV);
}
extern "C" {
pub fn bqn_hasField(ns: BQNV, name: BQNV) -> bool;
}
extern "C" {
pub fn bqn_getField(ns: BQNV, name: BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_makeF64(d: f64) -> BQNV;
}
extern "C" {
pub fn bqn_makeChar(c: u32) -> BQNV;
}
extern "C" {
pub fn bqn_makeI8Arr(rank: usize, shape: *const usize, data: *const i8) -> BQNV;
}
extern "C" {
pub fn bqn_makeI16Arr(rank: usize, shape: *const usize, data: *const i16) -> BQNV;
}
extern "C" {
pub fn bqn_makeI32Arr(rank: usize, shape: *const usize, data: *const i32) -> BQNV;
}
extern "C" {
pub fn bqn_makeF64Arr(rank: usize, shape: *const usize, data: *const f64) -> BQNV;
}
extern "C" {
pub fn bqn_makeC8Arr(rank: usize, shape: *const usize, data: *const u8) -> BQNV;
}
extern "C" {
pub fn bqn_makeC16Arr(rank: usize, shape: *const usize, data: *const u16) -> BQNV;
}
extern "C" {
pub fn bqn_makeC32Arr(rank: usize, shape: *const usize, data: *const u32) -> BQNV;
}
extern "C" {
pub fn bqn_makeObjArr(rank: usize, shape: *const usize, data: *const BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_makeI8Vec(len: usize, data: *const i8) -> BQNV;
}
extern "C" {
pub fn bqn_makeI16Vec(len: usize, data: *const i16) -> BQNV;
}
extern "C" {
pub fn bqn_makeI32Vec(len: usize, data: *const i32) -> BQNV;
}
extern "C" {
pub fn bqn_makeF64Vec(len: usize, data: *const f64) -> BQNV;
}
extern "C" {
pub fn bqn_makeC8Vec(len: usize, data: *const u8) -> BQNV;
}
extern "C" {
pub fn bqn_makeC16Vec(len: usize, data: *const u16) -> BQNV;
}
extern "C" {
pub fn bqn_makeC32Vec(len: usize, data: *const u32) -> BQNV;
}
extern "C" {
pub fn bqn_makeObjVec(len: usize, data: *const BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_makeUTF8Str(len: usize, str_: *const ::std::os::raw::c_char) -> BQNV;
}
pub type bqn_boundFn1 = ::std::option::Option<unsafe extern "C" fn(obj: BQNV, x: BQNV) -> BQNV>;
pub type bqn_boundFn2 =
::std::option::Option<unsafe extern "C" fn(obj: BQNV, w: BQNV, x: BQNV) -> BQNV>;
extern "C" {
pub fn bqn_makeBoundFn1(f: bqn_boundFn1, obj: BQNV) -> BQNV;
}
extern "C" {
pub fn bqn_makeBoundFn2(f: bqn_boundFn2, obj: BQNV) -> BQNV;
}
pub const BQNElType_elt_unk: BQNElType = 0;
pub const BQNElType_elt_i8: BQNElType = 1;
pub const BQNElType_elt_i16: BQNElType = 2;
pub const BQNElType_elt_i32: BQNElType = 3;
pub const BQNElType_elt_f64: BQNElType = 4;
pub const BQNElType_elt_c8: BQNElType = 5;
pub const BQNElType_elt_c16: BQNElType = 6;
pub const BQNElType_elt_c32: BQNElType = 7;
pub type BQNElType = ::std::os::raw::c_uint;
extern "C" {
pub fn bqn_directArrType(a: BQNV) -> BQNElType;
}
extern "C" {
pub fn bqn_directI8(a: BQNV) -> *const i8;
}
extern "C" {
pub fn bqn_directI16(a: BQNV) -> *const i16;
}
extern "C" {
pub fn bqn_directI32(a: BQNV) -> *const i32;
}
extern "C" {
pub fn bqn_directF64(a: BQNV) -> *const f64;
}
extern "C" {
pub fn bqn_directC8(a: BQNV) -> *const u8;
}
extern "C" {
pub fn bqn_directC16(a: BQNV) -> *const u16;
}
extern "C" {
pub fn bqn_directC32(a: BQNV) -> *const u32;
}