home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / macros.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  1KB  |  50 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
  3.  * provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                                           *
  6.  ************************************************************************/
  7.  
  8. struct macro {
  9.     /* Type and Name must match data_obj */
  10.     int    Type;        /* in this case a macro */
  11.     char    *Name;        /* name is always second ... */
  12.     int    m_len;        /* length of macro so we can use ^@ */
  13.     char    *m_body;    /* actual body of the macro */
  14.     struct macro    *m_nextm;
  15. };
  16.  
  17. extern bool
  18.     InMacDefine;    /* are we defining a macro right now? */
  19.  
  20. extern struct macro    *macros;
  21.  
  22. extern bool
  23.     in_macro proto((void)),
  24.     ModMacs proto((void));
  25.  
  26. extern ZXchar
  27.     mac_getc proto((void));
  28.  
  29. extern void
  30.     mac_init proto((void)),
  31.     do_macro proto((struct macro *mac)),
  32.     unwind_macro_stack proto((void)),
  33.     mac_putc proto((DAPchar c)),
  34.     note_dispatch proto((void));
  35.  
  36. /* Commands: */
  37. extern void
  38.     DefKBDMac proto((void)),
  39.     ExecMacro proto((void)),
  40.     Forget proto((void)),
  41.     MacInter proto((void)),
  42.     NameMac proto((void)),
  43.     Remember proto((void)),
  44.     RunMacro proto((void)),
  45.     WriteMacs proto((void));
  46.  
  47. /* dataobj.h:
  48.  *    findmac
  49.  */
  50.