source: git/kernel/structs.h @ 4f8fd1d

spielwiese
Last change on this file since 4f8fd1d was 0d9242, checked in by Hans Schoenemann <hannes@…>, 2 years ago
fix: no -std=c++11 for C files (from NTL_CPPFLAGS), weigth0.cc stuff
  • Property mode set to 100644
File size: 1.3 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
12/* for omBin */
13#include "omalloc/omalloc.h"
14
15/* standard types */
16#define BITSET  unsigned int
17
18
19/* C++-part */
20#ifdef __cplusplus
21#include "kernel/polys.h"
22
23class Voice;
24class sleftv;
25class procinfo;
26class skStrategy;
27class ssyStrategy;
28class CPolynomialSummator;
29class CGlobalMultiplier;
30class CFormulaPowerMultiplier;
31#endif
32
33
34enum tHomog
35{
36  isNotHomog = FALSE,
37  isHomog    = TRUE,
38  testHomog
39};
40
41struct sip_package;
42typedef struct sip_package ip_package;
43typedef ip_package *       package;
44
45typedef struct  n_Procs_s  n_Procs_s;
46
47struct nc_struct;
48typedef struct nc_struct   nc_struct;
49
50typedef struct sip_link    ip_link;
51
52/* the pointer types */
53typedef char *             char_ptr;
54typedef int  *             int_ptr;
55
56#ifdef __cplusplus
57typedef sleftv *           leftv;
58typedef skStrategy *       kStrategy;
59typedef ssyStrategy *      syStrategy;
60typedef procinfo *         procinfov;
61
62/* the function pointer types */
63
64#endif /* __cplusplus */
65
66
67
68/*
69**  7. runtime procedures/global data
70*/
71
72/* 7.1 C-routines : */
73
74
75#define loop for(;;)
76
77EXTERN_VAR omBin char_ptr_bin;
78
79#endif
80
Note: See TracBrowser for help on using the repository browser.