bool.h
Upload User: gzelex
Upload Date: 2007-01-07
Package Size: 707k
Code Size: 1k
Development Platform:

MultiPlatform

  1. /*******************************************************************************
  2. +
  3. +  LEDA-R  3.2.3
  4. +
  5. +  bool.h
  6. +
  7. +  Copyright (c) 1995  by  Max-Planck-Institut fuer Informatik
  8. +  Im Stadtwald, 66123 Saarbruecken, Germany     
  9. +  All rights reserved.
  10. *******************************************************************************/
  11. #if !defined(__BUILTIN_BOOL__)
  12. /*{Manpage {bool} {} {Boolean Values} }*/
  13. /*{Mdefinition
  14. An instance of the data type $bool$ has either the value $true$ or $false$. 
  15. The usual CC logical operators && (and), $||$ (or), ! (negation) are 
  16. defined for $bool$. }*/
  17. typedef char bool;
  18. enum {false=0, true=1};
  19. #endif