source: git/kernel/structs.h @ ad53a8

fieker-DuValspielwiese
Last change on this file since ad53a8 was aa8a7e, checked in by Hans Schoenemann <hannes@…>, 7 years ago
use include ".." for singular related .h, p9
  • Property mode set to 100644
File size: 1.5 KB
Line 
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
26class Voice;
27class sleftv;
28class procinfo;
29class skStrategy;
30class ssyStrategy;
31class CPolynomialSummator;
32class CGlobalMultiplier;
33class CFormulaPowerMultiplier;
34#endif
35
36
37enum tHomog
38{
39  isNotHomog = FALSE,
40  isHomog    = TRUE,
41  testHomog
42};
43
44struct sip_package;
45typedef struct sip_package ip_package;
46typedef ip_package *       package;
47
48typedef struct  n_Procs_s  n_Procs_s;
49
50struct nc_struct;
51typedef struct nc_struct   nc_struct;
52
53typedef struct sip_link    ip_link;
54
55/* the pointer types */
56typedef char *             char_ptr;
57typedef int  *             int_ptr;
58
59#ifdef __cplusplus
60typedef sleftv *           leftv;
61typedef skStrategy *       kStrategy;
62typedef ssyStrategy *      syStrategy;
63typedef 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
79extern "C" {
80#endif
81void  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
92extern omBin char_ptr_bin;
93
94#endif
95
Note: See TracBrowser for help on using the repository browser.