source: git/kernel/structs.h @ c46f94

spielwiese
Last change on this file since c46f94 was 6a70f3, checked in by Hans Schoenemann <hannes@…>, 9 years ago
use standard names: int_number -> mpz_prt, NATNUMBER ->unsigned long
  • 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/* for omBin */
11#include <omalloc/omalloc.h>
12#ifdef HAVE_RINGS
13#include <coeffs/si_gmp.h>
14#endif
15
16/* standard types */
17#define BITSET  unsigned int
18
19
20/* C++-part */
21#ifdef __cplusplus
22#include <misc/auxiliary.h>
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.