X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=macro.h;h=a22727e409659d2ff453258c9a63bfd857a03848;hp=bd4f14729be81e10c3db9742187105c1eecc48a1;hb=ace0b549a94110b69ec61442f825fb421b79799a;hpb=d28f432296e812643e236d1bfc9b556a7b11c461 diff --git a/macro.h b/macro.h index bd4f147..a22727e 100644 --- a/macro.h +++ b/macro.h @@ -1,29 +1,25 @@ -//////////////////////////////////////////////////////////////////////////////////////////////////// -// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System +// +// RMAC - Reboot's 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-2020 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__ #define __MACRO_H__ #include "rmac.h" -// Globals, externals etc +// Exported variables extern LONG curuniq; -extern TOKEN **argp; -extern int mjump_align; +extern TOKEN * argPtrs[]; -// 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__ -