From 09ee875ec9dbb364c4d867c375cce0acd9fab283 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Sat, 21 Sep 2019 05:41:44 +0200 Subject: 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 --- numpy/core/include/numpy/random/bitgen.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 numpy/core/include/numpy/random/bitgen.h (limited to 'numpy/core/include') 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 -#include -#include - -/* 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 -- cgit v1.2.1