flint-sys 0.9.0

Bindings to the FLINT C library
Documentation
/* automatically generated by rust-bindgen 0.70.1 */

use crate::deps::*;
use crate::flint::*;


extern "C" {
    pub fn z_sizeinbase(n: slong, b: libc::c_int) -> usize;
    #[link_name = "z_mul_checked__extern"]
    pub fn z_mul_checked(a: *mut slong, b: slong, c: slong) -> libc::c_int;
    #[link_name = "z_add_checked__extern"]
    pub fn z_add_checked(a: *mut slong, b: slong, c: slong) -> libc::c_int;
    #[link_name = "z_mat22_det_is_negative__extern"]
    pub fn z_mat22_det_is_negative(m11: slong, m12: slong, m21: slong, m22: slong) -> libc::c_int;
    pub fn z_randtest(state: *mut flint_rand_struct) -> slong;
    pub fn z_randtest_not_zero(state: *mut flint_rand_struct) -> slong;
    pub fn z_randint(state: *mut flint_rand_struct, limit: ulong) -> slong;
    pub fn z_kronecker(a: slong, n: slong) -> libc::c_int;
}