structs.h
Go to the documentation of this file.
1 #ifndef STRUCTS_H
2 #define STRUCTS_H
3 /****************************************
4 * Computer Algebra System SINGULAR *
5 ****************************************/
6 /*
7 * ABSTRACT
8 */
9 
10 #include <kernel/mod2.h>
11 /* for omBin */
12 #include <omalloc/omalloc.h>
13 #ifdef HAVE_RINGS
14 #include <coeffs/si_gmp.h>
15 #endif
16 
17 /* standard types */
18 #define BITSET unsigned int
19 
20 
21 /* C++-part */
22 #ifdef __cplusplus
23 #include <kernel/polys.h>
24 #include <polys/coeffrings.h>
25 
26 class Voice;
27 class sleftv;
28 class procinfo;
29 class skStrategy;
30 class ssyStrategy;
32 class CGlobalMultiplier;
34 #endif
35 
36 
37 enum tHomog
38 {
42 };
43 
44 struct sip_package;
45 typedef struct sip_package ip_package;
46 typedef ip_package * package;
47 
48 typedef struct n_Procs_s n_Procs_s;
49 
50 struct nc_struct;
51 typedef struct nc_struct nc_struct;
52 
53 typedef struct sip_link ip_link;
54 
55 /* the pointer types */
56 typedef char * char_ptr;
57 typedef int * int_ptr;
58 
59 #ifdef __cplusplus
60 typedef sleftv * leftv;
63 typedef procinfo * procinfov;
64 
65 /* the function pointer types */
66 
67 #endif /* __cplusplus */
68 
69 
70 
71 /*
72 ** 7. runtime procedures/global data
73 */
74 
75 /* 7.1 C-routines : */
76 
77 
78 #ifdef __cplusplus
79 extern "C" {
80 #endif
81 void m2_end(int i);
82 #ifdef __cplusplus
83 }
84 #endif
85 
86 #define loop for(;;)
87 
88 #ifndef ABS
89 #define ABS(x) ((x)<0?(-(x)):(x))
90 #endif
91 
92 extern omBin char_ptr_bin;
93 
94 #endif
95 
ip_package * package
Definition: structs.h:46
Class used for (list of) interpreter objects.
Definition: subexpr.h:83
omBin_t * omBin
Definition: omStructs.h:12
#define FALSE
Definition: auxiliary.h:94
Compatiblity layer for legacy polynomial operations (over currRing)
void m2_end(int i)
Definition: misc_ip.cc:1072
#define TRUE
Definition: auxiliary.h:98
ssyStrategy * syStrategy
Definition: structs.h:62
sleftv * leftv
Definition: structs.h:60
Definition: fevoices.h:57
Definition: nc.h:83
omBin char_ptr_bin
Definition: ring.cc:55
char * char_ptr
Definition: structs.h:56
tHomog
Definition: structs.h:37
skStrategy * kStrategy
Definition: structs.h:61
int i
Definition: cfEzgcd.cc:123
CPolynomialSummator: unifies bucket and polynomial summation as the later is brocken in buckets :(...
Definition: summator.h:29
int * int_ptr
Definition: structs.h:57
procinfo * procinfov
Definition: structs.h:63