File: macro.h

package info (click to toggle)
ng 1.5~beta1-14
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,164 kB
  • sloc: ansic: 44,018; asm: 3,150; sh: 2,539; cpp: 1,234; makefile: 578
file content (31 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* $Id: macro.h,v 1.1.1.1 2000/06/27 01:47:56 amura Exp $ */
/* definitions for keyboard macros */

/*
 * $Log: macro.h,v $
 * Revision 1.1.1.1  2000/06/27 01:47:56  amura
 * import to CVS
 *
 */

#ifndef EXTERN
#define EXTERN extern
#define INIT(i)
#endif

#define MAXMACRO 256		/* maximum functs in a macro */

EXTERN	int inmacro	INIT(FALSE);
EXTERN	int macrodef	INIT(FALSE);
EXTERN	int macrocount	INIT(0);

EXTERN	union {
	PF	m_funct;
	int	m_count;	/* for count-prefix	*/
}	macro[MAXMACRO];

EXTERN	LINE *maclhead	INIT(NULL);
EXTERN	LINE *maclcur;

#undef	EXTERN
#undef	INIT