Changeset 72a01e in git for Singular/subexpr.h
- Timestamp:
- Apr 23, 2014, 12:19:21 PM (10 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- bb506bf3a0a0ac42333f7f5150453aa276562b39
- Parents:
- 4676d5eca0f4ac138d3c85099b1c244a3d695016
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/subexpr.h
r4676d5 r72a01e 12 12 #include <polys/monomials/ring.h> 13 13 14 #include <Singular/febase.h> 15 //#include <kernel/structs.h> 14 //#include <Singular/ipid.h> 16 15 17 16 #include <Singular/grammar.h> 18 17 #include <Singular/tok.h> 19 18 #include <Singular/attrib.h> 19 20 typedef enum { LANG_NONE, LANG_TOP, LANG_SINGULAR, LANG_C, LANG_MAX} language_defs; 21 class proc_singular 22 { 23 public: 24 long proc_start; // position where proc is starting 25 long def_end; // position where proc header is ending 26 long help_start; // position where help is starting 27 long help_end; // position where help is starting 28 long body_start; // position where proc-body is starting 29 long body_end; // position where proc-body is ending 30 long example_start; // position where example is starting 31 long proc_end; // position where proc is ending 32 int proc_lineno; 33 int body_lineno; 34 int example_lineno; 35 char *body; 36 long help_chksum; 37 }; 38 struct proc_object 39 { 40 //public: 41 BOOLEAN (*function)(leftv res, leftv v); 42 }; 43 44 union uprocinfodata 45 { 46 public: 47 proc_singular s; // data of Singular-procedure 48 struct proc_object o; // pointer to binary-function 49 }; 50 typedef union uprocinfodata procinfodata; 51 52 class procinfo 53 { 54 public: 55 char *libname; 56 char *procname; 57 package pack; 58 language_defs language; 59 short ref; 60 char is_static; // if set, proc not accessible for user 61 char trace_flag; 62 procinfodata data; 63 }; 64 65 typedef procinfo * procinfov; 20 66 21 67 struct _ssubexpr
Note: See TracChangeset
for help on using the changeset viewer.