numpy 0.30.0

PyO3-based Rust bindings of the NumPy C-API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::ffi::c_void;

#[repr(C)]
#[derive(Debug)]
pub struct bitgen_t {
    pub state: *mut c_void,
    pub next_uint64: unsafe extern "C" fn(*mut c_void) -> super::npy_uint64, //nogil
    pub next_uint32: unsafe extern "C" fn(*mut c_void) -> super::npy_uint32, //nogil
    pub next_double: unsafe extern "C" fn(*mut c_void) -> libc::c_double,    //nogil
    pub next_raw: unsafe extern "C" fn(*mut c_void) -> super::npy_uint64,    //nogil
}