diff options
| author | tslil <tslil@posteo.de> | 2020-12-29 18:55:06 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 4a8e687b14b50e3a2a4a3632f6553872f4c301d5 (patch) | |
| tree | 105efe213f5d69eaa8d9a40531a4ccb72a1c793e /include/ptn.h | |
| parent | fd22e4cf3198c1e63cf26dd5fdce588a1e969ac1 (diff) | |
PTN code looks correct, minor tweaks and header guards
Diffstat (limited to 'include/ptn.h')
| -rw-r--r-- | include/ptn.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ptn.h b/include/ptn.h index 715a7d0..e780a70 100644 --- a/include/ptn.h +++ b/include/ptn.h @@ -5,9 +5,9 @@ enum PTN_PARSE_RESULT { PTN_VALID, PTN_INVALID }; enum PTN_PARSE_RESULT parse_place(const uint8_t board_size, char *ptn, - uint8_t *location, enum STONE_VARIANT *stone); + uint8_t *out_location, enum STONE_VARIANT *out_stone); enum PTN_PARSE_RESULT parse_move(const uint8_t board_size, char *ptn, - uint8_t *location, enum MOVE_DIRECTION *direction, - uint8_t *steps, uint8_t drops[5]); + uint8_t *out_location, enum MOVE_DIRECTION *out_direction, + uint8_t *out_steps, uint8_t out_drops[5]); |
