X-Git-Url: https://pd.if.org/git/?p=pd_readline;a=blobdiff_plain;f=mg%2Fmacro.h;fp=mg%2Fmacro.h;h=52cc83d263b70eda479c6b193ece162787690be6;hp=0000000000000000000000000000000000000000;hb=a9843085ec916c175bd245a8398f30e6cc03f984;hpb=26fe4e09c6c3c250334fdeed60ce3061febecde2 diff --git a/mg/macro.h b/mg/macro.h new file mode 100644 index 0000000..52cc83d --- /dev/null +++ b/mg/macro.h @@ -0,0 +1,21 @@ +/* $OpenBSD: macro.h,v 1.7 2005/11/18 20:56:53 deraadt Exp $ */ + +/* This file is in the public domain. */ + +/* definitions for keyboard macros */ + +#define MAXMACRO 256 /* maximum functs in a macro */ + +extern int inmacro; +extern int macrodef; +extern int macrocount; + +union macrodef { + PF m_funct; + int m_count; /* for count-prefix */ +}; + +extern union macrodef macro[MAXMACRO]; + +extern struct line *maclhead; +extern struct line *maclcur;