#ifndef _RANDOM_BITGEN_H #define _RANDOM_BITGEN_H #pragma once #include #include #include /* Must match the declaration in numpy/random/.pxd */ typedef struct bitgen { void *state; uint64_t (*next_uint64)(void *st); uint32_t (*next_uint32)(void *st); double (*next_double)(void *st); uint64_t (*next_raw)(void *st); } bitgen_t; #endif