]> Shamusworld >> Repos - rmac/blob - macro.h
Initial commit.
[rmac] / macro.h
1 ////////////////////////////////////////////////////////////////////////////////////////////////////
2 // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
3 // MACRO.H - Macro Definition and Invocation
4 // Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
5 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
6 // Source Utilised with the Kind Permission of Landon Dyer
7
8 #ifndef __MACRO_H__
9 #define __MACRO_H__
10
11 #include "rmac.h"
12
13 // Globals, externals etc
14 extern LONG curuniq;
15 extern TOKEN **argp;
16 extern int mjump_align;
17
18 // Prototypes
19 void init_macro(void);
20 int exitmac(void);
21 int defmac(void);
22 int defrept(void);
23 int lncatch(int (*)(), char *);
24 int kwmatch(char *, char *);
25 int invokemac(SYM *, WORD);
26 void ib_macro(void);
27
28 #endif // __MACRO_H__
29