]> git.neil.brown.name Git - edlib.git/commit
do_char_byte: pass the pane to DOC_NEXT, not doc_data
authorNeilBrown <neil@brown.name>
Sun, 16 Jul 2023 11:57:18 +0000 (21:57 +1000)
committerNeilBrown <neil@brown.name>
Tue, 18 Jul 2023 11:51:35 +0000 (21:51 +1000)
commit75fe34a1ce81782f211c96fb5e19db3bb86f41c0
tree8513648ea57b0bc8598a1252b0db2da0ab360a2f
parent91a0f7b56b3a449946fd72be80d5d340a6c50c48
do_char_byte: pass the pane to DOC_NEXT, not doc_data

If we pass the pane, the inline code is more generic and does not need
to know about the internals of struct pane.
This is a constant offset from the doc_data, so does not change the
number of memory accesses.

Signed-off-by: NeilBrown <neil@brown.name>
core-log.c
core-pane.h
core.h
doc-dir.c
doc-docs.c
doc-list.c
doc-text.c