aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-07 08:51:26 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-07 12:16:34 +0100
commit26b56bc3090e9ad6ffd71f216a53805c5e894807 (patch)
tree48f4d26dd01571df196bd1ee2228c3d72e65581b /vis-core.h
parentf1002cdc6d70bae0c5f68df1d91cd170189d4789 (diff)
downloadvis-26b56bc3090e9ad6ffd71f216a53805c5e894807.tar.gz
vis-26b56bc3090e9ad6ffd71f216a53805c5e894807.tar.xz
vis: API documentation and cleanup
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vis-core.h b/vis-core.h
index 549b817..4321a80 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -1,6 +1,7 @@
#ifndef VIS_CORE_H
#define VIS_CORE_H
+#include <setjmp.h>
#include "vis.h"
#include "text.h"
#include "text-regex.h"
@@ -123,7 +124,7 @@ struct Vis {
Win *windows; /* list of windows */
Win *win; /* currently active window */
Syntax *syntaxes; /* NULL terminated array of syntax definitions */
- Register registers[VIS_REGISTER_INVALID]; /* register used for copy and paste */
+ Register registers[VIS_REG_INVALID]; /* register used for copy and paste */
Macro macros[VIS_MACRO_INVALID]; /* recorded macros */
Macro *recording, *last_recording;/* currently and least recently recorded macro */
Macro *macro_operator;