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 #include <stdint.h>
11 
27 #if defined(__PORT_gbz80)
29 #elif defined(__PORT_z80)
30 void initrand(uint16_t seed) __z88dk_fastcall;
31 #endif
32 
38 
44 
54 #if defined(__PORT_gbz80)
56 #elif defined(__PORT_z80)
57 void initarand(uint16_t seed) __z88dk_fastcall;
58 #endif
59 
65 
66 #endif
int8_t
signed char int8_t
Definition: stdint.h:43
types.h
arand
int8_t arand() OLDCALL
uint16_t
unsigned short int uint16_t
Definition: stdint.h:52
rand
int8_t rand() OLDCALL
randw
uint16_t randw() OLDCALL
initrand
void initrand(uint16_t seed) OLDCALL
stdint.h
OLDCALL
#define OLDCALL
Definition: types.h:21
initarand
void initarand(uint16_t seed) OLDCALL