Changeset 43fb497 in git


Ignore:
Timestamp:
Mar 8, 2017, 1:57:33 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
61c85ae94f50d7bc15aa6a2d330879d7cea6018a
Parents:
19ac4b85e6a4f60c9947c67d092a0dce59187d24
Message:
code cleanup: sleftv* -> leftv, calling proc. etc.
Location:
Singular
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r19ac4b r43fb497  
    79687968                omFreeBin((ADDRESS)an, sleftv_bin);
    79697969                omFreeBin((ADDRESS)bn, sleftv_bin);
     7970                a->CleanUp();
     7971                b->CleanUp();
    79707972                return FALSE;
    79717973              }
  • Singular/ipassign.cc

    r19ac4b r43fb497  
    19891989        /* advance the expressionlist to get the next element after the ring */
    19901990        hh = r->next;
    1991         //r=hh;
    19921991      }
    19931992      else
  • Singular/iplib.cc

    r19ac4b r43fb497  
    369369* return FALSE on success, TRUE if an error occurs
    370370*/
    371 BOOLEAN iiPStart(idhdl pn, sleftv  * v)
     371BOOLEAN iiPStart(idhdl pn, leftv v)
    372372{
    373373  procinfov pi=NULL;
     
    396396  else return TRUE;
    397397  /* generate argument list ======================================*/
     398  //iiCurrArgs should be NULL here, as the assignment for the parameters
     399  // of the prevouis call are already done befor calling another routine
    398400  if (v!=NULL)
    399401  {
     
    499501  }
    500502}
    501 BOOLEAN iiMake_proc(idhdl pn, package pack, sleftv* sl)
     503BOOLEAN iiMake_proc(idhdl pn, package pack, leftv sl)
    502504{
    503505  int err;
  • Singular/ipshell.cc

    r19ac4b r43fb497  
    27492749    R->cf->ref++;
    27502750  }
    2751   else
    2752   if (L->m[0].Typ()==INT_CMD)
     2751  else if (L->m[0].Typ()==INT_CMD)
    27532752  {
    27542753    int ch = (int)(long)L->m[0].Data();
     
    60616060    if (traceit &TRACE_SHOW_RINGS) Print("kill ring %lx\n",(long)r);
    60626061#endif
    6063     if (r->qideal!=NULL)
    6064     {
    6065       id_Delete(&r->qideal, r);
    6066       r->qideal = NULL;
    6067     }
    60686062    int j;
    60696063    for (j=0;j<myynest;j++)
  • Singular/ipshell.h

    r19ac4b r43fb497  
    4545int     IsCmd(const char *n, int & tok);
    4646
    47 BOOLEAN iiPStart(idhdl pn, sleftv * sl);
     47BOOLEAN iiPStart(idhdl pn, leftv sl);
    4848BOOLEAN iiEStart(char* example, procinfo *pi);
    4949BOOLEAN iiAllStart(procinfov pi, char *p,feBufferTypes t, int l);
     
    192192int     iiDeclCommand(leftv sy, leftv name, int lev, int t, idhdl* root,
    193193  BOOLEAN isring = FALSE, BOOLEAN init_b=TRUE);
    194 BOOLEAN iiMake_proc(idhdl pn, package pack, sleftv* sl);
     194BOOLEAN iiMake_proc(idhdl pn, package pack, leftv sl);
    195195// from misc.cc:
    196196char *  showOption();
  • Singular/subexpr.cc

    r19ac4b r43fb497  
    19501950}
    19511951
    1952 const char *iiSleftv2name(leftv v)
    1953 {
    1954   return(v->name);
    1955 }
    1956 
    19571952void * sattr::CopyA()
    19581953{
  • Singular/subexpr.h

    r19ac4b r43fb497  
    7575
    7676extern BOOLEAN siq;
    77 extern const char *iiSleftv2name(leftv v);
    7877
    7978class sleftv;
     
    126125    inline const char * Fullname()
    127126    {
    128       if ((name!=NULL) && (e==NULL)) return(iiSleftv2name(this));
     127      if ((name!=NULL) && (e==NULL)) return(this->name);
    129128      else return sNoName_fe;
    130129    }
Note: See TracChangeset for help on using the changeset viewer.