diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-30 12:40:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-17 16:14:10 +0000 |
| commit | a6d9f01c0d1d914362b73eacd89e1e09877632cb (patch) | |
| tree | 044a331241b6534f00cad1ace1941d13313cbdfd /extract.h | |
| parent | search: find_next(): correctly wrap row number (diff) | |
extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()
Diffstat (limited to 'extract.h')
| -rw-r--r-- | extract.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -8,15 +8,14 @@ struct extraction_context; -struct extraction_context *extract_begin(enum selection_kind kind); +struct extraction_context *extract_begin( + enum selection_kind kind, bool strip_trailing_empty); bool extract_one( const struct terminal *term, const struct row *row, const struct cell *cell, int col, void *context); bool extract_finish( - struct extraction_context *context, bool strip_trailing_empty, - char **text, size_t *len); + struct extraction_context *context, char **text, size_t *len); bool extract_finish_wide( - struct extraction_context *context, bool strip_trailing_empty, - wchar_t **text, size_t *len); + struct extraction_context *context, wchar_t **text, size_t *len); |
