]> pd.if.org Git - pd_readline/blob - mg/macro.h
Added mg from an OpenBSD mirror site. Many thanks to the OpenBSD team and the mg...
[pd_readline] / mg / macro.h
1 /*      $OpenBSD: macro.h,v 1.7 2005/11/18 20:56:53 deraadt Exp $       */
2
3 /* This file is in the public domain. */
4
5 /* definitions for keyboard macros */
6
7 #define MAXMACRO 256            /* maximum functs in a macro */
8
9 extern int inmacro;
10 extern int macrodef;
11 extern int macrocount;
12
13 union macrodef {
14         PF      m_funct;
15         int     m_count;        /* for count-prefix      */
16 };
17
18 extern union macrodef macro[MAXMACRO];
19
20 extern struct line      *maclhead;
21 extern struct line      *maclcur;