Differences From Artifact [b9fb3ba61b]:
- File aocutils.h — part of check-in [fe9956e07d] at 2024-12-04 09:27:39 on branch trunk — use unsigned (user: nnz, size: 312) [annotate] [blame] [check-ins using]
To Artifact [475433f577]:
- File aocutils.h — part of check-in [682dabca63] at 2024-12-06 12:05:25 on branch trunk — moved and renamed function to aocutils.c (user: nnz, size: 376) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 | + | #ifndef AOCUTILS_H_INCLUDED #define AOCUTILS_H_INCLUDED size_t linearize2d(unsigned width, unsigned row, unsigned col); size_t text2array(unsigned **dst, const char *txt); size_t slurp(char **dst, const char *filename); unsigned distance(unsigned a, unsigned b); unsigned max3u(unsigned a, unsigned b, unsigned c); unsigned min3u(unsigned a, unsigned b, unsigned c); #endif |