Changeset 5be7db in git


Ignore:
Timestamp:
Apr 7, 2010, 4:46:45 PM (13 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
7249440a8b31fbbb1b4a4269cdfcf46991bd39bb
Parents:
d6001e1480b48cfaad6b86e836d596cd18983512
Message:
idrec -> idrec.h

git-svn-id: file:///usr/local/Singular/svn/trunk@12707 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/ring.h

    rd6001e1 r5be7db  
    1111/* includes */
    1212#include "structs.h"
    13 #include "structs.h"  // we need ABS
    1413#include "polys-impl.h"
    1514
  • kernel/structs.h

    rd6001e1 r5be7db  
    3030#endif
    3131
    32 typedef void * Sy_reference;
    33 #define ADDRESS Sy_reference
     32typedef void * ADDRESS;
    3433#define BITSET  unsigned int
    3534
     
    114113#ifdef __cplusplus
    115114class ip_smatrix;
    116 class idrec;
    117115class intvec;
    118116class sleftv;
     
    164162typedef char *             char_ptr;
    165163typedef int  *             int_ptr;
    166 typedef short *            short_ptr;
    167164typedef ip_sring *         ring;
    168 typedef int                idtyp;
    169165typedef polyrec *          poly;
    170166typedef poly *             polyset;
     
    175171
    176172#ifdef __cplusplus
    177 typedef idrec *            idhdl;
    178173typedef ip_smatrix *       matrix;
    179174typedef ip_link *          si_link;
     
    500495#endif
    501496
     497class idrec;
     498typedef idrec *   idhdl;
     499
    502500struct sip_sring
    503501{
     
    691689};
    692690
    693 class idrec
    694 {
    695   public:
    696   /* !! do not change the first 6 entries !! (see subexpr.h: sleftv) */
    697   idhdl      next;
    698   const char *id;
    699   utypes     data;
    700   attr       attribute;
    701   BITSET     flag;
    702   idtyp      typ;
    703 
    704   short      lev;
    705   short      ref;
    706   int        id_i;
    707 
    708   idrec() { memset(this,0,sizeof(*this)); }
    709   idhdl get(const char * s, int lev);
    710   idhdl set(const char * s, int lev, idtyp t, BOOLEAN init=TRUE);
    711   char * String();
    712 //  ~idrec();
    713 };
    714 
    715 #endif
    716 
    717 #endif
    718 
     691#endif
     692
     693#endif
     694
  • kernel/syz1.cc

    rd6001e1 r5be7db  
    2626#include "kbuckets.h"
    2727#include "prCopy.h"
     28#include "idrec.h"
    2829
    2930extern void p_Setm_Syz(poly p, ring r,
Note: See TracChangeset for help on using the changeset viewer.