aboutsummaryrefslogtreecommitdiff
path: root/vis-motions.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-motions.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-motions.c')
-rw-r--r--vis-motions.c3
1 files changed, 1 insertions, 2 deletions
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)