//
-// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
+// RMAC - Renamed Macro Assembler for all Atari computers
// MACRO.H - Macro Definition and Invocation
-// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
+// Copyright (C) 199x Landon Dyer, 2011-2021 Reboot and Friends
// RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
-// Source Utilised with the Kind Permission of Landon Dyer
+// Source utilised with the kind permission of Landon Dyer
//
#ifndef __MACRO_H__
#include "rmac.h"
-// Globals, externals etc
+// Exported variables
extern LONG curuniq;
-extern TOKEN ** argp;
-extern int mjump_align;
+extern TOKEN * argPtrs[];
+extern LONG reptuniq;
+extern int rptlevel;
-// Prototypes
-void init_macro(void);
-int exitmac(void);
-int defmac(void);
-int defrept(void);
-int lncatch(int (*)(), char *);
-int kwmatch(char *, char *);
-int invokemac(SYM *, WORD);
-void ib_macro(void);
+// Exported functions
+void InitMacro(void);
+int ExitMacro(void);
+int DefineMacro(void);
+int HandleRept(void);
+int InvokeMacro(SYM *, WORD);
#endif // __MACRO_H__
-