Changeset 9c4865b in git


Ignore:
Timestamp:
Jan 27, 2010, 1:33:04 PM (13 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
9239449fb81b97dbf98619fb5dcba7343d2e8861
Parents:
9008029955f32c6d5ef414a2e5d9bf43a5c892f6
Message:
structs.h cleanup

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

Legend:

Unmodified
Added
Removed
  • kernel/febase.cc

    r900802 r9c4865b  
    4747char    prompt_char = '>'; /*1 either '>' or '.'*/
    4848extern "C" {
     49BITSET  test=(BITSET)0;
    4950BITSET  verbose = 1
    5051                  | Sy_bit(V_REDEFINE)
  • kernel/kutil.cc

    r900802 r9c4865b  
    215215
    216216
    217 BITSET  test=(BITSET)0;
    218217int     HCord;
    219218int     Kstd1_deg;
     
    66436642  Print("posInLDependsOnLength=%d, use_buckets=%d\n",
    66446643         strat->posInLDependsOnLength,strat->use_buckets);
    6645    PrintS(showOption());PrintLn();
     6644  PrintS(showOption());PrintLn();
     6645  PrintS("LDeg: ");
     6646    if (currRing->pLDeg==pLDeg0) PrintS("pLDeg0");
     6647    else if (currRing->pLDeg==pLDeg0c) PrintS("pLDeg0c");
     6648    else if (currRing->pLDeg==pLDegb) PrintS("pLDegb");
     6649    else if (currRing->pLDeg==pLDeg1) PrintS("pLDeg1");
     6650    else if (currRing->pLDeg==pLDeg1c) PrintS("pLDeg1c");
     6651    else if (currRing->pLDeg==pLDeg1_Deg) PrintS("pLDeg1_Deg");
     6652    else if (currRing->pLDeg==pLDeg1c_Deg) PrintS("pLDeg1c_Deg");
     6653    else if (currRing->pLDeg==pLDeg1_Totaldegree) PrintS("pLDeg1_Totaldegree");
     6654    else if (currRing->pLDeg==pLDeg1c_Totaldegree) PrintS("pLDeg1c_Totaldegree");
     6655    else if (currRing->pLDeg==pLDeg1_WFirstTotalDegree) PrintS("pLDeg1_WFirstTotalDegree");
     6656    else if (currRing->pLDeg==pLDeg1c_WFirstTotalDegree) PrintS("pLDeg1c_WFirstTotalDegree");
     6657    else Print("? (%lx)", (long)currRing->pLDeg);
     6658    PrintS(" / ");
     6659    if (strat->tailRing->pLDeg==pLDeg0) PrintS("pLDeg0");
     6660    else if (strat->tailRing->pLDeg==pLDeg0c) PrintS("pLDeg0c");
     6661    else if (strat->tailRing->pLDeg==pLDegb) PrintS("pLDegb");
     6662    else if (strat->tailRing->pLDeg==pLDeg1) PrintS("pLDeg1");
     6663    else if (strat->tailRing->pLDeg==pLDeg1c) PrintS("pLDeg1c");
     6664    else if (strat->tailRing->pLDeg==pLDeg1_Deg) PrintS("pLDeg1_Deg");
     6665    else if (strat->tailRing->pLDeg==pLDeg1c_Deg) PrintS("pLDeg1c_Deg");
     6666    else if (strat->tailRing->pLDeg==pLDeg1_Totaldegree) PrintS("pLDeg1_Totaldegree");
     6667    else if (strat->tailRing->pLDeg==pLDeg1c_Totaldegree) PrintS("pLDeg1c_Totaldegree");
     6668    else if (strat->tailRing->pLDeg==pLDeg1_WFirstTotalDegree) PrintS("pLDeg1_WFirstTotalDegree");
     6669    else if (strat->tailRing->pLDeg==pLDeg1c_WFirstTotalDegree) PrintS("pLDeg1c_WFirstTotalDegree");
     6670    else Print("? (%lx)", (long)strat->tailRing->pLDeg);
     6671    Print(" syzring:%d, syzComp(strat):%d syzComb(ring)\n",rIsSyzIndexRing(currRing),strat->syzComp,rGetCurrSyzLimit());
     6672
    66466673}
    66476674
  • kernel/misc.cc

    r900802 r9c4865b  
    4848
    4949omBin char_ptr_bin = omGetSpecBin(sizeof(char_ptr));
    50 omBin smprec_bin = omGetSpecBin(sizeof(smprec));
    51 omBin sip_sring_bin = omGetSpecBin(sizeof(sip_sring));
    5250
    5351/*0 implementation*/
  • kernel/ring.cc

    r900802 r9c4865b  
    4242
    4343#define BITS_PER_LONG 8*SIZEOF_LONG
     44
     45omBin sip_sring_bin = omGetSpecBin(sizeof(sip_sring));
    4446
    4547static const char * const ringorder_name[] =
  • kernel/ring.h

    r900802 r9c4865b  
    460460void rDelete(ring r);
    461461
    462 #endif
     462extern struct omBin_s* sip_sring_bin;
     463#endif
  • kernel/sparsmat.cc

    r900802 r9c4865b  
    5252static BOOLEAN smHaveDenom(poly);
    5353static number smCleardenom(ideal);
     54
     55struct omBin_s* smprec_bin = omGetSpecBin(sizeof(smprec));
    5456
    5557static poly pp_Mult_Coeff_mm_DivSelect_MultDiv(poly p, int &lp, poly m,
  • kernel/structs.h

    r900802 r9c4865b  
    683683
    684684/*the general set of std-options --> kutil.cc */
    685 extern BITSET test;
    686685/*the general set of verbose-options --> febase.cc */
    687686#ifdef __cplusplus
     687extern "C" BITSET test;
    688688extern "C" BITSET verbose;
    689689#else
     690extern BITSET test;
    690691extern BITSET verbose;
    691 #endif
    692 /*debugging the bison grammar --> grammar.cc*/
    693 #ifdef YYDEBUG
    694 #if YYDEBUG
    695 extern int    yydebug;
    696 #endif
    697692#endif
    698693
     
    818813
    819814extern struct omBin_s* char_ptr_bin;
    820 extern struct omBin_s* smprec_bin;
    821 extern struct omBin_s* sip_sring_bin;
    822815extern struct omBin_s* sleftv_bin;
    823816
Note: See TracChangeset for help on using the changeset viewer.