PIPS
tab.h
Go to the documentation of this file.
1
/*
2
3
$Id: tab.h 23065 2016-03-02 09:05:50Z coelho $
4
5
Copyright 1989-2016 MINES ParisTech
6
7
This file is part of PIPS.
8
9
PIPS is free software: you can redistribute it and/or modify it
10
under the terms of the GNU General Public License as published by
11
the Free Software Foundation, either version 3 of the License, or
12
any later version.
13
14
PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15
WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
FITNESS FOR A PARTICULAR PURPOSE.
17
18
See the GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22
23
*/
24
struct
A
25
{
struct
A
*
precedent
;
26
char
*
bout
;
27
};
28
29
struct
L
30
{
int
flags
;
31
union
{
int
unit
;
32
Entier
*
val
;
33
}
objet
;
34
};
35
36
#define Unit 1
37
#define Plus 2
38
#define Minus 4
39
#define Zero 8
40
#define Critic 16
41
#define Unknown 32
42
43
#define Sign 62
44
45
#define Index(p,i,j) (p)->row[i].objet.val[j]
46
#define Flag(p,i) (p)->row[i].flags
47
struct
T
48
{
int
height
,
width
;
49
struct
L
row
[1];
50
};
51
52
typedef
struct
T
Tableau
;
53
54
void
tab_init
();
55
56
char
*
tab_hwm
();
57
58
void
tab_reset
();
59
60
Tableau
*
tab_alloc
();
61
62
void
tab_copy
();
63
64
Tableau
*
tab_get
();
65
66
void
tab_display
();
67
68
Tableau
*
tab_expand
();
Entier
#define Entier
Definition:
pip__type.h:24
A
Definition:
pip__tab.h:25
A::bout
char * bout
Definition:
pip__tab.h:26
A::precedent
struct A * precedent
Definition:
pip__tab.h:25
L
Definition:
pip__tab.h:30
L::flags
int flags
Definition:
pip__tab.h:30
L::unit
int unit
Definition:
pip__tab.h:31
L::val
Entier * val
Definition:
pip__tab.h:32
L::objet
union L::@15 objet
T
Definition:
pip__tab.h:48
T::width
int width
Definition:
pip__tab.h:48
T::height
int height
Definition:
pip__tab.h:48
T::row
struct L row[1]
Definition:
pip__tab.h:49
tab_alloc
Tableau * tab_alloc()
tab_init
void tab_init()
Definition:
tab.c:77
tab_hwm
char * tab_hwm()
Definition:
tab.c:92
tab_get
Tableau * tab_get()
tab_reset
void tab_reset()
tab_copy
void tab_copy()
tab_expand
Tableau * tab_expand()
tab_display
void tab_display()
pips
src
Libs
pip
tab.h
Generated on Thu Sep 26 2024 22:11:43 for PIPS by
1.9.1