home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / fweb153.zip / fweb-1.53 / web / t_type.web < prev    next >
Text File  |  1995-09-23  |  5KB  |  126 lines

  1. @z --- t_type.web ---
  2.  
  3. FWEB version 1.53 (September 23, 1995)
  4.  
  5. Based on version 0.5 of S. Levy's CWEB [copyright (C) 1987 Princeton University]
  6.  
  7. @x-----------------------------------------------------------------------------
  8.  
  9.  
  10. \Title{T\_TYPE.WEB} % Prototypes for FTANGLE.
  11.  
  12. @c 
  13. @* PROTOTYPES for {\tt FTANGLE.WEB}.  The function prototypes are
  14. macroed up so that if |PROTOTYPES==1| (see \.{proto.hweb}) one gets full
  15. function prototyping; otherwise just old-style declarations.
  16.  
  17. @I formats.hweb
  18.  
  19. @I os.hweb
  20.  
  21. @ The make file produces \.{t\_type.h} from these prototypes.
  22.  
  23. @d OUT_CHAR(c) out_char((eight_bits)(c)) /* Cast avoids warning messages. */
  24.  
  25. @a
  26.  
  27. #include SFILE(s_type.h) /* Prototypes for \.{style.web}. */
  28. #include SFILE(r_type.h) /* Prototypes for \.{ratfor.web}. */
  29. #include SFILE(e_type.h) /* Prototypes for \.{eval.web}. */
  30. #include SFILE(m_type.h) /* Prototypes for \.{macs.web}. */
  31.  
  32. X_FCN x_unroll PROTO((VOID));
  33.  
  34. SRTN app_aconst PROTO((outer_char fmt_char,boolean leading_zero));
  35. SRTN app_converted PROTO((unsigned long n));
  36. SRTN app_dmacro PROTO((CONST eight_bits HUGE *p,CONST eight_bits HUGE *p1));
  37. name_pointer app_macro PROTO((eight_bits last_control));
  38. BP HUGE *b_link PROTO((TRUNC HUGE *s,LANGUAGE Language,
  39.     CONST ASCII HUGE *p0,CONST ASCII HUGE *p1));
  40. SRTN blank_out PROTO((int n));
  41. SRTN buffer_out PROTO((outer_char c));
  42. SRTN C_out PROTO((outer_char HUGE *buffer,outer_char HUGE *p,
  43.     outer_char HUGE * HUGE *ppC_buffer,
  44.     outer_char *end_str, CONST outer_char *begin_str, int indent));
  45. SRTN C_putc PROTO((outer_char c));
  46. SRTN C_sprintf PROTO((CONST outer_char s[],int n ELLIPSIS));
  47. SRTN close0 PROTO((OPEN_FILE *f));
  48. SRTN close_out PROTO((FILE *fp));
  49. SRTN cmp_outfiles PROTO((VOID));
  50. int cmpr_bp PROTO((BP HUGE **bb0,BP HUGE **bb1));
  51. int cmpr_trunc PROTO((TRUNC HUGE **t0,TRUNC HUGE **t1));
  52. SRTN copy_string PROTO((eight_bits a0));
  53. SRTN cp_ASCII PROTO((VOID));
  54. eight_bits out_bracket PROTO((eight_bits cur_char,eight_bits new_char));
  55. SRTN flush0 PROTO((VOID));
  56. SRTN flush_out PROTO((boolean prn_new_line));
  57. int get_constant PROTO((eight_bits HUGE *e));
  58. GOTO_CODE get_control_code PROTO((VOID));
  59. eight_bits get_next PROTO((VOID));
  60. int id PROTO((int n));
  61. name_pointer id0_lookup PROTO((CONST ASCII HUGE *start,CONST ASCII HUGE *end,
  62.     LANGUAGE l));
  63. SRTN ini_special_tokens PROTO((LANGUAGE language0,SPEC HUGE *tokens));
  64. SRTN ini_univ_tokens PROTO((LANGUAGE language0));
  65. SRTN ins_ln_no PROTO((int delta));
  66. boolean is_deferred PROTO((sixteen_bits cur_val));
  67. int main PROTO((int ac,outer_char **av));
  68. SRTN mcheck0 PROTO((unsigned long n,CONST outer_char reason[]));
  69. SRTN mcopy PROTO((CONST outer_char *s));
  70. SRTN new_out PROTO((boolean scope,sixteen_bits a));
  71. eight_bits next_byte PROTO((VOID));
  72. SRTN not_unique PROTO((VOID));
  73. SRTN open_out PROTO((CONST outer_char *msg,boolean global_scope));
  74. LANGUAGE opn_output_file PROTO((LANGUAGE language0));
  75. eight_bits out_char PROTO((eight_bits cur_char));
  76. eight_bits out_dflt PROTO((eight_bits c));
  77. SRTN out_of_order PROTO((CONST outer_char cmd[]));
  78. SRTN out_op PROTO((CONST outer_char HUGE *s));
  79. CONST outer_char HUGE *out_str PROTO((CONST outer_char HUGE *s0));
  80. SRTN out_trunc PROTO((CONST name_pointer np));
  81. SRTN out_version PROTO((CONST outer_char *msg));
  82. SRTN phase1 PROTO((VOID));
  83. SRTN phase2 PROTO((VOID));
  84. boolean pop_level PROTO((VOID));
  85. SRTN prn_mod_num PROTO((outer_char *fmt,long val));
  86. GOTO_CODE prs_TeX_code PROTO((VOID));
  87. GOTO_CODE prs_regular_code PROTO((GOTO_CODE iswitch));
  88. SRTN push_level PROTO((name_pointer p,
  89.             CONST eight_bits HUGE *b0,CONST eight_bits HUGE *b1));
  90. SRTN RAT_out PROTO((outer_char c));
  91. SRTN rdc_char_constant PROTO((VOID));
  92. int rst_out PROTO((boolean continuation));
  93. TRUNC HUGE *s_link PROTO((TRUNC HUGE *s,CONST ASCII HUGE *id,
  94.     unsigned short len));
  95. eight_bits HUGE *save_out PROTO((eight_bits HUGE **p,
  96.     int nmax,eight_bits r_before,eight_bits r_after)); 
  97. SRTN scan_module PROTO((VOID));
  98. SRTN scan_repl PROTO((eight_bits t,boolean stop));
  99. SRTN scan_text PROTO((int text_type,CONST name_pointer p,boolean expand));
  100. int see PROTO((CONST ASCII HUGE *c0,CONST ASCII HUGE *c1));
  101. SRTN see_dup PROTO((CONST TRUNC HUGE *s,LANGUAGE Language,
  102.     BP HUGE *HUGE *bb0));
  103. SRTN see_id PROTO((CONST ASCII HUGE *start,CONST ASCII HUGE *end));
  104. SRTN see_tstatistics PROTO((VOID));
  105. SRTN send_single PROTO((sixteen_bits a));
  106. LANGUAGE set_output_file PROTO((LANGUAGE language0));
  107. eight_bits skip_ahead PROTO((eight_bits last_control,boolean skip_over_bars));
  108. eight_bits skip_bars PROTO((VOID));
  109. boolean skip_comment PROTO((VOID));
  110. SRTN split_C PROTO((VOID));
  111. SRTN split_X PROTO((CONST outer_char HUGE *prefx));
  112. SRTN split0_C PROTO((outer_char HUGE *p));
  113. #ifdef _FTANGLE_h
  114. SRTN store PROTO((TEXT_BUF HUGE *t, outer_char c));
  115. #endif
  116. SRTN store_two_bytes PROTO((sixteen_bits x));
  117. SRTN to_else PROTO((VOID));
  118. SRTN to_endif PROTO((int m_case));
  119. int trap PROTO((VOID));
  120. unsigned trunc_id PROTO((CONST name_pointer np0));
  121. SRTN unwind PROTO((VOID));
  122. boolean valid_char PROTO((ASCII c,int l));
  123. eight_bits x_identifier PROTO((eight_bits cur_char));
  124.  
  125. @ Index:
  126.