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-motions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vis-motions.c') diff --git a/vis-motions.c b/vis-motions.c index 92ab995..9917ce5 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -293,8 +293,7 @@ void vis_motion_type(Vis *vis, enum VisMotionType type) { vis->action.type = type; } -int vis_motion_register(Vis *vis, enum VisMotionType type, void *data, - size_t (*motion)(Vis*, Win*, void*, size_t pos)) { +int vis_motion_register(Vis *vis, enum VisMotionType type, void *data, VisMotionFunction *motion) { Movement *move = calloc(1, sizeof *move); if (!move) -- cgit v1.2.3