repositories
/
TD_C.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0b8ccce
)
Spell fix in comment.
author
Jerome Benoit
<jerome.benoit@sap.com>
Thu, 24 Aug 2017 16:38:29 +0000
(18:38 +0200)
committer
Jerome Benoit
<jerome.benoit@sap.com>
Thu, 24 Aug 2017 16:38:29 +0000
(18:38 +0200)
TP_13/exo2/lib/coordinates.c
patch
|
blob
|
blame
|
history
diff --git
a/TP_13/exo2/lib/coordinates.c
b/TP_13/exo2/lib/coordinates.c
index ef80ba9d8b8bfe77da68c9d81fb73caddc2874e1..fc5cb4f3ea50f3d2f7dcce179a672759ae7b7027 100644
(file)
--- a/
TP_13/exo2/lib/coordinates.c
+++ b/
TP_13/exo2/lib/coordinates.c
@@
-37,7
+37,7
@@
coordinates_t set_coordinates(int y, int x, unsigned type) {
/* FIXME: Does it worth doing a coordinates_t get_coordinates(int y, int x, unsigned type); helper function? */
/* Or a int get_coordinates_x(coordinates_t coordinates); helper function? */
/* FIXME: Does it worth doing a coordinates_t get_coordinates(int y, int x, unsigned type); helper function? */
/* Or a int get_coordinates_x(coordinates_t coordinates); helper function? */
-/* th
e
function do a lot of sanity checks before adding new board elements,
+/* th
is
function do a lot of sanity checks before adding new board elements,
* hence the loop. moving the checks in the main loop is also possible.
* for now, just branch in the main loop given this function error value returned. */
unsigned add_coordinates(coordinates_t new_coordinates, coordinates_t* coordinates_array, unsigned round) {
* hence the loop. moving the checks in the main loop is also possible.
* for now, just branch in the main loop given this function error value returned. */
unsigned add_coordinates(coordinates_t new_coordinates, coordinates_t* coordinates_array, unsigned round) {