This commit is contained in:
2026-04-10 15:06:59 +02:00
parent 3031b7153b
commit e5a4711004
7806 changed files with 1918528 additions and 335 deletions

View File

@@ -0,0 +1,13 @@
"""Wrapper for newrand.h"""
cdef extern from "newrand.h":
void set_seed(unsigned int)
unsigned int bounded_rand_int(unsigned int)
def set_seed_wrap(unsigned int custom_seed):
set_seed(custom_seed)
def bounded_rand_int_wrap(unsigned int range_):
return bounded_rand_int(range_)