From 0bd23565ac85f7ab158e256b567c94bbdb7a148b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 6 May 2017 17:36:17 +0200 Subject: vis: add doxygen comments Rename some structures, add typedefs for function pointers, remove unused arguments from vis_run. --- vis-text-objects.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vis-text-objects.c') 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) -- cgit v1.2.3