From 4a8e687b14b50e3a2a4a3632f6553872f4c301d5 Mon Sep 17 00:00:00 2001 From: tslil Date: Tue, 29 Dec 2020 18:55:06 -0500 Subject: PTN code looks correct, minor tweaks and header guards --- include/ptn.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/ptn.h') 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]); -- cgit v1.3.1