Mercurial > touhou
view pytouhou/utils/random.pxd @ 755:fc937d93a57c
Bump nom to version 6, and image to 0.23.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 04 Jan 2021 21:14:02 +0100 |
parents | 292fea5c584e |
children |
line wrap: on
line source
cdef class Random: cdef unsigned short seed cdef unsigned long counter cdef void set_seed(self, unsigned short seed) nogil cdef unsigned short rewind(self) nogil cpdef unsigned short rand_uint16(self) cpdef unsigned int rand_uint32(self) cpdef double rand_double(self)