Changeset 460c65f in git for kernel/febase.h


Ignore:
Timestamp:
Jan 5, 2010, 12:19:11 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
835d837d628ffb434ebd7c6219fa7994bdd7d61e
Parents:
1fca0364b35f46a90cbfe6c56518e4c6d8425aeb
Message:
move stuff from structs

git-svn-id: file:///usr/local/Singular/svn/trunk@12397 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/febase.h

    r1fca03 r460c65f  
    9898extern BOOLEAN feWarn;
    9999extern BOOLEAN feOut;
     100extern int  traceit ;
     101#define TRACE_SHOW_PROC   1
     102#define TRACE_SHOW_LINENO 2
     103#define TRACE_SHOW_LINE   4
     104#define TRACE_SHOW_RINGS  8
     105#define TRACE_SHOW_LINE1  16
     106#define TRACE_BREAKPOINT  32
     107#define TRACE_TMP_BREAKPOINT  64
     108extern int  myynest;
     109
    100110
    101111
     
    137147/* the C++-part: */
    138148
     149typedef enum { LANG_NONE, LANG_TOP, LANG_SINGULAR, LANG_C, LANG_MAX} language_defs;
     150// LANG_TOP     : Toplevel package only
     151// LANG_SINGULAR:
     152// LANG_C       :
     153//
     154
     155class proc_singular
     156{
     157public:
     158  long   proc_start;       // position where proc is starting
     159  long   def_end;          // position where proc header is ending
     160  long   help_start;       // position where help is starting
     161  long   help_end;         // position where help is starting
     162  long   body_start;       // position where proc-body is starting
     163  long   body_end;         // position where proc-body is ending
     164  long   example_start;    // position where example is starting
     165  long   proc_end;         // position where proc is ending
     166  int    proc_lineno;
     167  int    body_lineno;
     168  int    example_lineno;
     169  char   *body;
     170  long help_chksum;
     171};
     172
     173struct proc_object
     174{
     175//public:
     176  BOOLEAN (*function)(leftv res, leftv v);
     177};
     178union uprocinfodata
     179{
     180public:
     181  proc_singular  s;        // data of Singular-procedure
     182  struct proc_object    o; // pointer to binary-function
     183};
     184
     185typedef union uprocinfodata procinfodata;
     186
     187class procinfo;
     188typedef procinfo *         procinfov;
     189
     190class procinfo
     191{
     192public:
     193  char          *libname;
     194  char          *procname;
     195  package       pack;
     196  language_defs language;
     197  short         ref;
     198  char          is_static;        // if set, proc not accessible for user
     199  char          trace_flag;
     200  procinfodata  data;
     201};
    139202enum   feBufferTypes
    140203{
Note: See TracChangeset for help on using the changeset viewer.