diff options
author | Thomas White <taw@physics.org> | 2017-10-19 21:42:48 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-10-19 22:33:48 +0200 |
commit | 7f2d0abd61d9d25c7c07ad1de1de2e6067c22b3e (patch) | |
tree | 1109d2a96d55d156eb70989686e39895980d96e7 /src/sc_parse.h | |
parent | 74be5482424aef26ea081aca0ccd0e5b6a5bcdcb (diff) |
Track the newlines at ends of paragraphs directly
No more messing around searching for \n characters
Diffstat (limited to 'src/sc_parse.h')
-rw-r--r-- | src/sc_parse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_parse.h b/src/sc_parse.h index 4775996..41a1112 100644 --- a/src/sc_parse.h +++ b/src/sc_parse.h @@ -65,6 +65,7 @@ extern void sc_block_unlink(SCBlock **top, SCBlock *deleteme); extern SCBlock *find_last_child(SCBlock *bl); +extern void sc_block_set_name(SCBlock *bl, char *nam); extern void sc_block_set_options(SCBlock *bl, char *opt); extern void sc_block_set_contents(SCBlock *bl, char *con); extern void sc_insert_text(SCBlock *b1, size_t o1, const char *t); |