summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2019-09-21 05:41:44 +0200
committerRalf Gommers <ralf.gommers@gmail.com>2019-09-21 05:41:44 +0200
commit09ee875ec9dbb364c4d867c375cce0acd9fab283 (patch)
treee6369bd82382cdf73b3ce2a4bcddf97f72d0e9c9 /numpy/core/include
parent4ff3af387f93ff37f04f42458d4590c33f61fb9e (diff)
downloadnumpy-09ee875ec9dbb364c4d867c375cce0acd9fab283.tar.gz
MAINT: don't install partial numpy.random C/Cython API.
See https://mail.python.org/pipermail/numpy-discussion/2019-September/080088.html for discussion. We need to do this right, and add tests and docs. All this PR does is not install bitgen.h, common.pxd and bit_generator.pxd (they're still shipped in the sdist, that is needed). Should be backported to 1.17.x
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/random/bitgen.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/numpy/core/include/numpy/random/bitgen.h b/numpy/core/include/numpy/random/bitgen.h
deleted file mode 100644
index 0adaaf2ee..000000000
--- a/numpy/core/include/numpy/random/bitgen.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#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