Corewar documentation 1.0.0
|
The file containing the fork function. More...
#include "../../include/corewar.h"
Functions | |
int * | fork_register (champion_t *champion, int *new_register) |
Fork the register of a champion. | |
champion_t * | fork_champion (champion_t *champion) |
Fork a champion. | |
void | exec_fork (champion_t *champion, node_t *address) |
The fork function. | |
The file containing the fork function.
void exec_fork | ( | champion_t * | champion, |
node_t * | address ) |
The fork function.
champion | The champion to execute the fork function |
address | The address of the fork function |
champion_t * fork_champion | ( | champion_t * | champion | ) |
Fork a champion.
champion | The champion to fork |
int * fork_register | ( | champion_t * | champion, |
int * | new_register ) |
Fork the register of a champion.
champion | The champion to fork |
new_register | The new register |