diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-12-18 13:50:19 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-12-18 16:57:18 +0100 |
| commit | b8456fa2615480fa242c6992ca89481a8370fe5f (patch) | |
| tree | 4836c8561242182ea5d13d735fe6432e9d5624c4 /macro.h | |
| parent | 46ffdc3dff7a8bf87f3b1004c3c12a7f6fcd8d6c (diff) | |
| download | vis-b8456fa2615480fa242c6992ca89481a8370fe5f.tar.gz vis-b8456fa2615480fa242c6992ca89481a8370fe5f.tar.xz | |
Macro support
At some point this should be optimized further at the moment there
is some 20 byte overhead for each entered key.
Diffstat (limited to 'macro.h')
| -rw-r--r-- | macro.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#ifndef MACRO_H +#define MACRO_H + +#include "buffer.h" + +typedef Buffer Macro; +#define macro_free buffer_free +#define macro_reset buffer_truncate +#define macro_append buffer_append + +#endif |
