Changeset 72a01e in git for Singular/subexpr.h


Ignore:
Timestamp:
Apr 23, 2014, 12:19:21 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
bb506bf3a0a0ac42333f7f5150453aa276562b39
Parents:
4676d5eca0f4ac138d3c85099b1c244a3d695016
Message:
removed unused febase.h, moved parts to ipshell.h/subexpr.h/structs.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.h

    r4676d5 r72a01e  
    1212#include <polys/monomials/ring.h>
    1313
    14 #include <Singular/febase.h>
    15 //#include <kernel/structs.h>
     14//#include <Singular/ipid.h>
    1615
    1716#include <Singular/grammar.h>
    1817#include <Singular/tok.h>
    1918#include <Singular/attrib.h>
     19
     20typedef enum { LANG_NONE, LANG_TOP, LANG_SINGULAR, LANG_C, LANG_MAX} language_defs;
     21class proc_singular
     22{
     23public:
     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};
     38struct proc_object
     39{
     40//public:
     41  BOOLEAN (*function)(leftv res, leftv v);
     42};
     43
     44union uprocinfodata
     45{
     46public:
     47  proc_singular  s;        // data of Singular-procedure
     48  struct proc_object    o; // pointer to binary-function
     49};
     50typedef union uprocinfodata procinfodata;
     51
     52class procinfo
     53{
     54public:
     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
     65typedef procinfo *         procinfov;
    2066
    2167struct _ssubexpr
Note: See TracChangeset for help on using the changeset viewer.