projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
string: Add discard feature for for_each_line().
[paraslash.git]
/
string.h
diff --git
a/string.h
b/string.h
index 6d0990749529489ec03d7e517891f4dc3b93322c..230f654b67a8e553e37e2f7635fbfe057e63cfca 100644
(file)
--- a/
string.h
+++ b/
string.h
@@
-42,6
+42,8
@@
struct para_buffer {
enum for_each_line_flags {
/** Activate read-only mode. */
FELF_READ_ONLY = 1 << 0,
+ /** Don't call line handler for the first input line. */
+ FELF_DISCARD_FIRST = 1 << 1,
};
/** Used for \ref for_each_line(). */