~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
algorithms.py, rand.c: Move constant definitions and so on to `rand.c'.
[catacomb-python]
/
rand.c
diff --git
a/rand.c
b/rand.c
index
6e7d03e
..
1c008b7
100644
(file)
--- a/
rand.c
+++ b/
rand.c
@@
-588,6
+588,8
@@
typedef struct gccrand_info {
gcrand_func *func;
} gccrand_info;
+#define RNGF_INT 1u
+
typedef struct gccrand_pyobj {
PyHeapTypeObject ty;
const gccrand_info *info;