Blame view

tools/sctk-2.4.10/src/sclite/boolpr1.c 627 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
  /* file boolpr1.c */
  
  #include "sctk.h"
  
   /**********************************************************************/
   /*                                                                    */
   /*   char *bool_print(x)                                              */
   /*                                                                    */
   /* Returns the printing equivalent of the boolean *x.                 */
   /*                                                                    */
   /**********************************************************************/
  
   char *bool_print(boolean x) {if (x) return "T"; else return "F";}