/usr/include/singular/singular/Singular/idrec.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 | #ifndef IDREC_H
#define IDREC_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT interpreter type for variables
*/
#include <Singular/lists.h>
#include <Singular/attrib.h>
#include <Singular/links/silink.h>
class bigintmat;
typedef union uutypes utypes;
union uutypes
{
int i;
ring uring;
poly p;
number n;
ideal uideal;
map umap;
matrix umatrix;
char * ustring;
intvec * iv;
bigintmat * bim;
lists l;
si_link li;
package pack;
procinfo * pinf;
};
class idrec
{
public:
/* !! do not change the first 6 entries !! (see subexpr.h: sleftv) */
idhdl next;
const char *id;
utypes data;
attr attribute;
BITSET flag;
int typ;
short lev;
short ref;
int id_i;
idrec() { memset(this,0,sizeof(*this)); }
idhdl get(const char * s, int lev);
idhdl set(const char * s, int lev, int t/*typ*/, BOOLEAN init=TRUE);
char * String(BOOLEAN typed = FALSE);
// ~idrec();
};
#endif
|