diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-21 16:08:32 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:48:40 +0200 |
| commit | 83f8a97b11d708a8c1d210cb44e0ab0088cdffa5 (patch) | |
| tree | a366e4b1440675bb78d5ca75ea2758dde27b1803 /editor.h | |
| parent | 3f6f3bd84b3278fa653d203c0665c53ebfb0cd14 (diff) | |
| download | vis-83f8a97b11d708a8c1d210cb44e0ab0088cdffa5.tar.gz vis-83f8a97b11d708a8c1d210cb44e0ab0088cdffa5.tar.xz | |
vis: pass editor instance to command handling funcitons
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ typedef struct { /* command definitions for the ':'-prompt */ const char *name[3]; /* name and optional alias for the command */ /* command logic called with a NULL terminated array of arguments. * argv[0] will be the command name */ - bool (*cmd)(Filerange*, enum CmdOpt opt, const char *argv[]); + bool (*cmd)(Vis*, Filerange*, enum CmdOpt opt, const char *argv[]); enum CmdOpt opt; /* command option flags */ } Command; |
