/usr/include/singular/singular/kernel/structs.h is in libsingular4-dev-common 1:4.1.0-p3+ds-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | #ifndef STRUCTS_H
#define STRUCTS_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT
*/
#include <kernel/mod2.h>
/* for omBin */
#include <omalloc/omalloc.h>
#ifdef HAVE_RINGS
#include <coeffs/si_gmp.h>
#endif
/* standard types */
#define BITSET unsigned int
/* C++-part */
#ifdef __cplusplus
#include <kernel/polys.h>
#include <polys/coeffrings.h>
class Voice;
class sleftv;
class procinfo;
class skStrategy;
class ssyStrategy;
class CPolynomialSummator;
class CGlobalMultiplier;
class CFormulaPowerMultiplier;
#endif
enum tHomog
{
isNotHomog = FALSE,
isHomog = TRUE,
testHomog
};
struct sip_package;
typedef struct sip_package ip_package;
typedef ip_package * package;
typedef struct n_Procs_s n_Procs_s;
struct nc_struct;
typedef struct nc_struct nc_struct;
typedef struct sip_link ip_link;
/* the pointer types */
typedef char * char_ptr;
typedef int * int_ptr;
#ifdef __cplusplus
typedef sleftv * leftv;
typedef skStrategy * kStrategy;
typedef ssyStrategy * syStrategy;
typedef procinfo * procinfov;
/* the function pointer types */
#endif /* __cplusplus */
/*
** 7. runtime procedures/global data
*/
/* 7.1 C-routines : */
#ifdef __cplusplus
extern "C" {
#endif
void m2_end(int i);
#ifdef __cplusplus
}
#endif
#define loop for(;;)
#ifndef ABS
#define ABS(x) ((x)<0?(-(x)):(x))
#endif
extern omBin char_ptr_bin;
#endif
|