diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-13 12:14:12 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-13 12:14:12 -0500 |
| commit | 44792fd5369cfe2ad1478b72bf22b0d1829f291b (patch) | |
| tree | ee991768c1632b50eaaba6e6b4f873eae420871a /balls.h | |
| parent | 2e442c894d50c42aea748d21a6f08add123e9a70 (diff) | |
| download | balls-44792fd5369cfe2ad1478b72bf22b0d1829f291b.zip | |
move readFile() out of balls.c
Diffstat (limited to 'balls.h')
| -rw-r--r-- | balls.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ typedef struct { size_t size; /* Length of cell array. */ } Partition; +int readFile(const char *filename, char **contents, size_t *size); + Partition partitionCollisions(size_t nBalls); void freePartition(Partition part); void printPartition(Partition part); |