about summary refs log tree commit diff
path: root/cards.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-29 00:07:30 -0400
committerJune McEnroe <june@causal.agency>2019-03-29 00:07:30 -0400
commit18995f4fea5ebdbbcea44d050b83e9e1949e3eea (patch)
tree4ac967e806d92a2e2ca8f4ee7dfb984f5b838089 /cards.c
parentFactor out path searching (diff)
downloadcards-18995f4fea5ebdbbcea44d050b83e9e1949e3eea.tar.gz
cards-18995f4fea5ebdbbcea44d050b83e9e1949e3eea.zip
Document cards library
Diffstat (limited to 'cards.c')
-rw-r--r--cards.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cards.c b/cards.c
index fd108b9..9e92aa9 100644
--- a/cards.c
+++ b/cards.c
@@ -337,7 +337,7 @@ checkRange(SDL_Surface **surfaces, size_t count, size_t a, size_t b) {
 
 int
 Cards_LoadCards(
-	SDL_Surface **surfaces, size_t count,
+	SDL_Surface *surfaces[], size_t count,
 	SDL_RWops *rw, enum Cards_Flag flags
 ) {
 	memset(surfaces, 0, sizeof(*surfaces) * count);
@@ -358,7 +358,7 @@ Cards_LoadCards(
 
 int
 Cards_LoadFreeCell(
-	SDL_Surface **surfaces, size_t count,
+	SDL_Surface *surfaces[], size_t count,
 	SDL_RWops *rw, enum Cards_Flag flags
 ) {
 	memset(surfaces, 0, sizeof(*surfaces) * count);