GBDK 2020 Docs API Documentation for GBDK 2020

rand.h
Go to the documentation of this file.
1
6 #ifndef RAND_INCLUDE
7 #define RAND_INCLUDE
8
9 #include <types.h>
10
26 void
27 initrand(UINT16 seed) NONBANKED; /* Non-banked as called from asm in arand.s */
28
33 INT8
34 rand(void);
35
40 UINT16
41 randw(void);
42
52 void
53 initarand(UINT16 seed);
54
59 INT8
60 arand(void);
61
62 #endif
UINT16
unsigned int UINT16
Definition: types.h:27
types.h
rand
INT8 rand(void)
arand
INT8 arand(void)
initrand
void initrand(UINT16 seed) NONBANKED
initarand
void initarand(UINT16 seed)
NONBANKED
#define NONBANKED
Definition: types.h:11
INT8
signed char INT8
Definition: types.h:18
randw
UINT16 randw(void)