forked from gap-system/gap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bool.h
67 lines (54 loc) · 1.88 KB
/
bool.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/****************************************************************************
**
** This file is part of GAP, a system for computational discrete algebra.
**
** Copyright of GAP belongs to its developers, whose names are too numerous
** to list here. Please refer to the COPYRIGHT file for details.
**
** SPDX-License-Identifier: GPL-2.0-or-later
**
** This file declares the functions for the boolean package.
*/
#ifndef GAP_BOOL_H
#define GAP_BOOL_H
#include "objects.h"
/****************************************************************************
**
*V True . . . . . . . . . . . . . . . . . . . . . . . . . . . . true value
**
** 'True' is the value 'true'.
*/
extern Obj True;
/****************************************************************************
**
*V False . . . . . . . . . . . . . . . . . . . . . . . . . . . . false value
**
** 'False' is the value 'false'.
*/
extern Obj False;
/****************************************************************************
**
*V Fail . . . . . . . . . . . . . . . . . . . . . . . . . . . . fail value
**
** 'Fail' is the value 'fail'.
*/
extern Obj Fail;
/****************************************************************************
**
*V Undefined . . . . . . . . . . . . . . . . . . . . . . . undefined value
**
** 'Undefined' is a special object that is used in lieu of (Obj) 0 in places
** where the kernel cannot handle a null reference easily. This object is
** never exposed to GAP code and only used within the kernel.
*/
extern Obj Undefined;
/****************************************************************************
**
*F * * * * * * * * * * * * * initialize module * * * * * * * * * * * * * * *
*/
/****************************************************************************
**
*F InitInfoBool() . . . . . . . . . . . . . . . . . table of init functions
*/
StructInitInfo * InitInfoBool ( void );
#endif // GAP_BOOL_H