X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=macro.h;h=21807575983015584ff73ec8a722a256e19649c9;hp=ea25b8b503e254cd8f82bdc7970a9fc0fdf03f30;hb=c59f7a33730dacf753e066a4002e2f749051a137;hpb=49cce96fba11282e4244187f15be418d5ae5bb8d diff --git a/macro.h b/macro.h index ea25b8b..2180757 100644 --- a/macro.h +++ b/macro.h @@ -1,9 +1,9 @@ // -// 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-2019 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,15 @@ #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__ -