GNU PROLOG with UTF8 support
Main Page
Data Structures
Files
File List
Globals
gprolog-utf8-tree
src
EnginePl
bool.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------*
2
* GNU Prolog *
3
* *
4
* Part : configuration *
5
* File : bool.h *
6
* Descr.: boolean type definition - header file *
7
* Author: Daniel Diaz *
8
* *
9
* Copyright (C) 1999-2015 Daniel Diaz *
10
* *
11
* This file is part of GNU Prolog *
12
* *
13
* GNU Prolog is free software: you can redistribute it and/or *
14
* modify it under the terms of either: *
15
* *
16
* - the GNU Lesser General Public License as published by the Free *
17
* Software Foundation; either version 3 of the License, or (at your *
18
* option) any later version. *
19
* *
20
* or *
21
* *
22
* - the GNU General Public License as published by the Free *
23
* Software Foundation; either version 2 of the License, or (at your *
24
* option) any later version. *
25
* *
26
* or both in parallel, as here. *
27
* *
28
* GNU Prolog is distributed in the hope that it will be useful, *
29
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
30
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
31
* General Public License for more details. *
32
* *
33
* You should have received copies of the GNU General Public License and *
34
* the GNU Lesser General Public License along with this program. If *
35
* not, see http://www.gnu.org/licenses/. *
36
*-------------------------------------------------------------------------*/
37
38
39
#ifndef _BOOL_H
40
#define _BOOL_H
41
42
#ifdef FALSE
43
44
# if FALSE != 0
45
# error "FALSE already defined with a value != 0"
46
# endif
47
#else
48
49
#define FALSE 0
50
51
#endif
52
53
#ifdef TRUE
54
55
# if TRUE != 1
56
# error "TRUE already defined with a value != 1"
57
# endif
58
#else
59
60
#define TRUE 1
61
62
#endif
63
64
#ifndef Bool
65
typedef
int
Bool
;
66
#endif
67
68
#endif
/* !_BOOL_H */
Bool
int Bool
Definition:
bool.h:65
Generated by
1.8.11