aboutsummaryrefslogtreecommitdiff
path: root/extract.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-15 09:31:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-15 09:31:38 +0000
commit2539e3cbb2fed78f446338ecd589eeb505ae9f45 (patch)
tree95f3b25ae3673fa017a7223416e6e6ff8f3f7e6c /extract.h
parentselection: refactor: break out text extraction to a separate file (diff)
extract: extract_one: make arguments const
Diffstat (limited to 'extract.h')
-rw-r--r--extract.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extract.h b/extract.h
index 2219780d..0b3693d2 100644
--- a/extract.h
+++ b/extract.h
@@ -10,8 +10,8 @@ struct extraction_context;
struct extraction_context *extract_begin(enum selection_kind kind);
bool extract_one(
- struct terminal *term, struct row *row, struct cell *cell, int col,
- void *context);
+ const struct terminal *term, const struct row *row, const struct cell *cell,
+ int col, void *context);
bool extract_finish(
struct extraction_context *context, char **text, size_t *len);