X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=macro.h;h=06ec89bff1a63a98daedb781de0489e9f5116ee3;hp=bd4f14729be81e10c3db9742187105c1eecc48a1;hb=03dd34951a331e0b8971195ccef1600fffaea2e6;hpb=d28f432296e812643e236d1bfc9b556a7b11c461 diff --git a/macro.h b/macro.h index bd4f147..06ec89b 100644 --- a/macro.h +++ b/macro.h @@ -1,29 +1,27 @@ -//////////////////////////////////////////////////////////////////////////////////////////////////// -// 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-2017 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); +// Exported functions +void InitMacro(void); +int ExitMacro(void); +int DefineMacro(void); int defrept(void); int lncatch(int (*)(), char *); int kwmatch(char *, char *); -int invokemac(SYM *, WORD); -void ib_macro(void); +int InvokeMacro(SYM *, WORD); #endif // __MACRO_H__ -