aboutsummaryrefslogtreecommitdiff
path: root/vis-text-objects.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-05-06 17:36:17 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-05-06 23:39:10 +0200
commit0bd23565ac85f7ab158e256b567c94bbdb7a148b (patch)
treea05d724a6dc343db32114c43e4d3dc394f75c44c /vis-text-objects.c
parentd9d8e81b39a77c198d344d096be55e9cd8cdd4e9 (diff)
downloadvis-0bd23565ac85f7ab158e256b567c94bbdb7a148b.tar.gz
vis-0bd23565ac85f7ab158e256b567c94bbdb7a148b.tar.xz
vis: add doxygen comments
Rename some structures, add typedefs for function pointers, remove unused arguments from vis_run.
Diffstat (limited to 'vis-text-objects.c')
-rw-r--r--vis-text-objects.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vis-text-objects.c b/vis-text-objects.c
index 467c101..446ac6d 100644
--- a/vis-text-objects.c
+++ b/vis-text-objects.c
@@ -2,8 +2,7 @@
#include "text-objects.h"
#include "util.h"
-int vis_textobject_register(Vis *vis, int type, void *data,
- Filerange (*textobject)(Vis*, Win*, void*, size_t pos)) {
+int vis_textobject_register(Vis *vis, int type, void *data, VisTextObjectFunction *textobject) {
TextObject *obj = calloc(1, sizeof *obj);
if (!obj)