Add some const for functions taking ColorProfile

This commit is contained in:
Kovid Goyal
2023-12-25 12:21:30 +05:30
parent 182b0aac98
commit 6c2ef90033
5 changed files with 6 additions and 6 deletions

View File

@@ -132,4 +132,4 @@ void historybuf_clear(HistoryBuf *self);
void mark_text_in_line(PyObject *marker, Line *line);
bool line_has_mark(Line *, uint16_t mark);
PyObject* as_text_generic(PyObject *args, void *container, get_line_func get_line, index_type lines, ANSIBuf *ansibuf, bool add_trailing_newline);
bool colors_for_cell(Line *self, ColorProfile *cp, index_type *x, color_type *fg, color_type *bg, bool *reversed);
bool colors_for_cell(Line *self, const ColorProfile *cp, index_type *x, color_type *fg, color_type *bg, bool *reversed);