Mercurial > touhou
comparison pytouhou/utils/random.pxd @ 509:292fea5c584e
Some more type optimisations.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 25 Nov 2013 19:12:56 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
508:1bc014f9d572 | 509:292fea5c584e |
---|---|
1 cdef class Random: | |
2 cdef unsigned short seed | |
3 cdef unsigned long counter | |
4 | |
5 cdef void set_seed(self, unsigned short seed) nogil | |
6 cdef unsigned short rewind(self) nogil | |
7 | |
8 cpdef unsigned short rand_uint16(self) | |
9 cpdef unsigned int rand_uint32(self) | |
10 cpdef double rand_double(self) |