You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Avril
aff04b6d4b
Reworked `PROG_RET_` to return negatives on internal, memory, or file/mapping failures, and to return the first haystack number that failed to match instead as return code (haystack numbers start at 1, since 0 is the needle). If all matched, return 0 from main().
...
Deprecated `PROG_RET_MAP_HAYSTACK_FAILED`
XXX: Currently `PROG_RET_MATCH_HAYSTACK_N_FAILED(n)` returns `n` verbatim (casted to `int`). Maybe we should ensure the number is nonzero in the macro? Or rework haystack numbers to start at 0 and have this macro add 1 to `n`? The former seems easier.
Fortune for naka's current commit: Middle blessing − 中吉
3 years ago
..
comp.h
Added `cmp_find()` `cmp_find_many()` in "comp.c"/"comp.h".
3 years ago
ints.h
Fortune for naka's current commit: Small blessing − 小吉
3 years ago
macros.h
Added `cmp_find()` `cmp_find_many()` in "comp.c"/"comp.h".
3 years ago
map.h
Added `cmp_find()` `cmp_find_many()` in "comp.c"/"comp.h".
3 years ago
project.h
Reworked `PROG_RET_` to return negatives on internal, memory, or file/mapping failures, and to return the first haystack number that failed to match instead as return code (haystack numbers start at 1, since 0 is the needle). If all matched, return 0 from main().
3 years ago
tests.h
added testing framework
3 years ago
version.h
added testing framework
3 years ago