X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=macro.h;h=a22727e409659d2ff453258c9a63bfd857a03848;hp=8eeff449a676ebdc2bf6b51fbaa5f7fedef857a2;hb=HEAD;hpb=75cce0d9eb190f6094f66ae283b5981af25e5a57 diff --git a/macro.h b/macro.h index 8eeff44..753dabd 100644 --- a/macro.h +++ b/macro.h @@ -1,9 +1,9 @@ // -// 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__ @@ -11,20 +11,17 @@ #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__ -