Debian Codegraph @

macros.h

raw
1 /**************************************************************************
2 * This program is Copyright (C) 1986-2002 by Jonathan Payne. JOVE is *
3 * provided by Jonathan and Jovehacks without charge and without *
4 * warranty. You may copy, modify, and/or distribute JOVE, provided that *
5 * this notice is included in all the source files and documentation. *
6 **************************************************************************/
7
8 struct macro {
9 /* Type and Name must match data_obj */
10 int Type; /* in this case a macro */
11 const char *Name; /* name is always second ... */
12 int m_len; /* length of macro so we can use ^@ */
13 char *m_body; /* actual body of the macro */
14 struct macro *m_nextm;
15 };
16
17 extern jbool
18 InMacDefine; /* are we defining a macro right now? */
19
20 extern struct macro *macros;
21
22 extern jbool
23 in_macro(void),
24 ModMacs(void);
25
26 extern ZXchar
27 mac_getc(void);
28
29 extern void
30 mac_init(void),
31 do_macro(struct macro *mac),
32 unwind_macro_stack(void),
33 mac_putc(DAPchar c),
34 note_dispatch(void);
35
36 /* Commands: */
37 extern void
38 DefKBDMac(void),
39 ExecMacro(void),
40 Forget(void),
41 MacInter(void),
42 NameMac(void),
43 Remember(void),
44 RunMacro(void),
45 WriteMacs(void);
46
47 /* dataobj.h:
48 * findmac
49 */