Changeset 49abe32 in git


Ignore:
Timestamp:
Apr 27, 2010, 4:17:56 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
0e051f7f753a1b83c52767ff9ee1a7406bfd8da1
Parents:
82bd705ae7c3ac65c0ab783ad29a7e19bf743bfb
Message:
structs.h simplified

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

Legend:

Unmodified
Added
Removed
  • kernel/Makefile.in

    r82bd70 r49abe32  
    160160        ffields.h khstd.h sparsmat.h gnumpfl.h gnumpc.h \
    161161        fglm.h kstd1.h \
    162         rmodulo2m.h rmodulon.h rintegers.h modulop.h sing_dbm.h weight.h \
     162        rmodulo2m.h rmodulon.h rintegers.h modulop.h weight.h \
    163163        fglmgauss.h fglmvec.h \
    164164        kstdfac.h kmatrix.h\
  • kernel/clapsing.h

    r82bd70 r49abe32  
    1717#include "intvec.h"
    1818#include "matpol.h"
     19#include "longalg.h"
    1920
    2021poly singclap_gcd ( poly f, poly g );
  • kernel/idrec.h

    r82bd70 r49abe32  
    1010
    1111#include "structs.h"
     12
     13typedef union uutypes      utypes;
     14union uutypes
     15{
     16  int           i;
     17  ring          uring;
     18  poly          p;
     19  number        n;
     20  ideal         uideal;
     21  map           umap;
     22  matrix        umatrix;
     23  char *        ustring;
     24  intvec *      iv;
     25  lists         l;
     26  si_link       li;
     27  package       pack;
     28  procinfo *    pinf;
     29};
    1230
    1331class idrec
  • kernel/longalg.h

    r82bd70 r49abe32  
    1111#include "longrat.h"
    1212#include "polys-impl.h"
     13
     14typedef polyrec *   napoly;
    1315
    1416struct slnumber;
  • kernel/structs.h

    r82bd70 r49abe32  
    131131struct sip_link;
    132132struct spolynom;
    133 struct _ssubexpr;
    134 struct _sssym;
    135 struct sip_command;
     133
    136134struct sip_package;
    137 struct s_si_link_extension;
     135typedef struct sip_package ip_package;
     136typedef ip_package *       package;
    138137
    139138// forward for ideals.h:
     
    151150// #endif
    152151
    153 typedef struct _ssubexpr   sSubexpr;
    154 typedef struct _sssym      ssym;
    155152typedef struct spolyrec    polyrec;
    156153typedef struct sip_sring   ip_sring;
    157154typedef struct sip_link    ip_link;
    158 typedef struct sip_command ip_command;
    159 typedef struct sip_package ip_package;
    160155
    161156/* the pointer types */
     
    165160typedef polyrec *          poly;
    166161typedef poly *             polyset;
    167 typedef union uutypes      utypes;
    168 typedef ip_command *       command;
    169 typedef struct s_si_link_extension *si_link_extension;
    170 typedef polyrec *   napoly;
    171162
    172163#ifdef __cplusplus
     
    175166typedef sleftv *           leftv;
    176167typedef slists *           lists;
    177 typedef sSubexpr *         Subexpr;
    178168typedef sattr *            attr;
    179169typedef skStrategy *       kStrategy;
    180 typedef ip_package *       package;
    181170typedef ssyStrategy *      syStrategy;
    182171typedef procinfo *         procinfov;
     
    671660extern struct omBin_s* sleftv_bin;
    672661
    673 #ifdef __cplusplus
    674 union uutypes
    675 {
    676   int           i;
    677   ring          uring;
    678   poly          p;
    679   number        n;
    680   ideal         uideal;
    681   map           umap;
    682   matrix        umatrix;
    683   char *        ustring;
    684   intvec *      iv;
    685   lists         l;
    686   si_link       li;
    687   package       pack;
    688   procinfo *    pinf;
    689 };
    690 
    691 #endif
    692 
    693 #endif
    694 
     662#endif
     663
Note: See TracChangeset for help on using the changeset viewer.