diff options
author | mattip <matti.picus@gmail.com> | 2019-06-27 16:17:09 -0700 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-06-27 16:27:47 -0700 |
commit | 14c333972d64fce85d06d74bc673045f32da7b5f (patch) | |
tree | c2580325e9f3474edfb4a6196d37b98f7af9e7e9 /numpy/core/include | |
parent | 4178b5a731cd183563d53ed145e7dce278aa39f6 (diff) | |
download | numpy-14c333972d64fce85d06d74bc673045f32da7b5f.tar.gz |
MAINT: move location of bitgen.h
Diffstat (limited to 'numpy/core/include')
-rw-r--r-- | numpy/core/include/numpy/random/bitgen.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/random/bitgen.h b/numpy/core/include/numpy/random/bitgen.h new file mode 100644 index 000000000..0adaaf2ee --- /dev/null +++ b/numpy/core/include/numpy/random/bitgen.h @@ -0,0 +1,20 @@ +#ifndef _RANDOM_BITGEN_H +#define _RANDOM_BITGEN_H + +#pragma once +#include <stddef.h> +#include <stdbool.h> +#include <stdint.h> + +/* Must match the declaration in numpy/random/common.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 |