@@ -19,14 +19,7 @@ from cython_overrides cimport PyFloat_AsDouble, PyInt_AsLong, PyErr_Occurred, Py
19
19
20
20
np .import_array ()
21
21
22
- #cdef extern from "Python.h":
23
- # double PyFloat_AsDouble(object ob)
24
- # long PyInt_AsLong(object ob)
25
- # int PyErr_Occurred()
26
- # void PyErr_Clear()
27
-
28
22
include "config.pxi"
29
- #include "src/common/binomial.pxi"
30
23
31
24
IF RNG_MOD_NAME == 'pcg32' :
32
25
include "shims/pcg-32/pcg-32.pxi"
@@ -56,8 +49,6 @@ cdef extern from "distributions.h":
56
49
57
50
cdef uint64_t random_uint64 (aug_state * state ) nogil
58
51
cdef uint32_t random_uint32 (aug_state * state ) nogil
59
- cdef int64_t random_positive_int64 (aug_state * state ) nogil
60
- cdef int32_t random_positive_int32 (aug_state * state ) nogil
61
52
62
53
cdef long random_positive_int (aug_state * state ) nogil
63
54
cdef unsigned long random_uint (aug_state * state ) nogil
@@ -112,9 +103,6 @@ cdef extern from "distributions.h":
112
103
cdef void random_bounded_uint8_fill (aug_state * state , uint8_t off , uint8_t rng , int cnt , uint8_t * out ) nogil
113
104
cdef void random_bool_fill (aug_state * state , int8_t off , int8_t rng , int cnt , int8_t * out ) nogil
114
105
115
- cdef void entropy_fill (void * dest , size_t size )
116
- cdef bint entropy_getbytes (void * dest , size_t size )
117
- cdef bint entropy_fallback_getbytes (void * dest , size_t size )
118
106
119
107
include "array_utilities.pxi"
120
108
include "bounded_integers.pxi"
0 commit comments