summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-08-19 21:56:14 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-08-19 21:56:32 -0700
commit26ea080bc745cfc1bb9cc38f348dd166fd7f83ba (patch)
treefb18ec914ed2a56354921c5074715ef485790c0c
parentd6845d333bd76d9064fb4a08714a84a8faa1fa8b (diff)
Fix heading level
-rw-r--r--readme.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 4f2d5ef..defecf3 100644
--- a/readme.md
+++ b/readme.md
@@ -29,7 +29,7 @@ Called to determine if `f.args.arr[f.args.i]` should be included in the filtered
Called to copy or transform `f.args.arr[f.args.i]`. This callback is required for `func_filter` and `func_map`, however when used with `func_filter`, it's only responsibility should be copying.
-### f.derefInput
+#### f.derefInput
Required by `func_find` to dereference the correct element of `f.args.arr`.
@@ -49,7 +49,7 @@ Iteration index used to iterate over `args.arr` where `args.i < args.n`.
Total length of `arg.arr`. After running, this will be changed to the length of `args.storage`
-### f.args.offset
+#### f.args.offset
When filtering, `args.i` increments to cover all of `args.arr`, but `arr.storage` may contain fewer items. Therefore, the callback responsible for copying when filtering (`f.map`) may need to account for this difference (see `example.c`).