home *** CD-ROM | disk | FTP | other *** search
/ Total Destruction / Total_Destruction.iso / addons / Lccwin32.exe / Lccwin32 / lccpub / src / null.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-11  |  2.0 KB  |  75 lines

  1. #include "c.h"
  2.  
  3.  
  4.  
  5.  
  6.  
  7. static void address ARGS((Symbol, Symbol, int));
  8.  
  9. static void blockbeg0 ARGS((Env *));
  10.  
  11. static void blockend0 ARGS((Env *));
  12.  
  13. static void defaddress ARGS((Symbol));
  14.  
  15. static void defconst ARGS((int, Value));
  16.  
  17. static void defstring ARGS((int, char *));
  18.  
  19. static void defsymbol ARGS((Symbol));
  20.  
  21. static void emit0 ARGS((Node));
  22.  
  23. static void export ARGS((Symbol));
  24.  
  25. static void function ARGS((Symbol, Symbol [], Symbol [], int));
  26.  
  27. static Node gen0 ARGS((Node));
  28.  
  29. static void global ARGS((Symbol));
  30.  
  31. static void import ARGS((Symbol));
  32.  
  33. static void local ARGS((Symbol));
  34.  
  35. static void progbeg ARGS((int, char **));
  36.  
  37. static void progend ARGS((void));
  38.  
  39. static void segment ARGS((int));
  40.  
  41. static void space ARGS((int));
  42.  
  43.  
  44.  
  45. static Node gen0(Node p) { return p; }
  46.  
  47. static void address(Symbol q,Symbol p,int n){}
  48.  
  49. static void blockbeg0(Env *e){}
  50.  
  51. static void blockend0(e) Env *e; {}
  52.  
  53. static void defaddress(p) Symbol p; {}
  54.  
  55. static void defconst(ty, v) int ty; Value v; {}
  56.  
  57. static void defstring(len, s) int len; char *s; {}
  58.  
  59. static void defsymbol(Symbol p) {}
  60.  
  61. static void emit0(Node p) {}
  62.  
  63. static void export(Symbol p) {}
  64.  
  65. static void function(f, caller, callee, ncalls) Symbol f, caller[], callee[]; int ncalls; {}
  66.  
  67. static void global(Symbol p) {}
  68.  
  69. static void import(Symbol p) {}
  70.  
  71. static void local(Symbol p) {}
  72.  
  73. static void progbeg(int argc,char *argv[]) {}
  74.  
  75. static void progend(void) {}
  76.  
  77. static void segment(int s)  {}
  78.  
  79. static void space(int n) {}
  80.  
  81.  
  82.  
  83. Interface nullIR = {
  84.  
  85.     1, 1, 0,    /* char */
  86.  
  87.     2, 2, 0,    /* short */
  88.  
  89.     4, 4, 0,    /* int */
  90.  
  91.     4, 4, 1,    /* float */
  92.  
  93.     8, 8, 1,    /* double */
  94.  
  95.     4, 4, 0,    /* T* */
  96.  
  97.     0, 4, 0,    /* struct */
  98.  
  99.     1,        /* little_endian */
  100.  
  101.     0,        /* mulops_calls */
  102.  
  103.     0,        /* wants_callb */
  104.  
  105.     0,        /* wants_argb */
  106.  
  107.     1,        /* left_to_right */
  108.  
  109.     0,        /* wants_dag */
  110.  
  111.     address,
  112.  
  113.     blockbeg0,
  114.  
  115.     blockend0,
  116.  
  117.     defaddress,
  118.  
  119.     defconst,
  120.  
  121.     defstring,
  122.  
  123.     defsymbol,
  124.  
  125.     emit0,
  126.  
  127.     export,
  128.  
  129.     function,
  130.  
  131.     gen0,
  132.  
  133.     global,
  134.  
  135.     import,
  136.  
  137.     local,
  138.  
  139.     progbeg,
  140.  
  141.     progend,
  142.  
  143.     segment,
  144.  
  145.     space
  146.  
  147. };
  148.  
  149.