extract: extract_one: make arguments const

This commit is contained in:
Daniel Eklöf 2020-07-15 11:31:38 +02:00
parent aafa120f92
commit 2539e3cbb2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 7 additions and 4 deletions

View file

@ -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);