Changeset d2c80d in git


Ignore:
Timestamp:
Feb 12, 2010, 7:35:03 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
395df5015feab0f13a1763fdd2b1e21d75e96938
Parents:
a1aae2a301ed1473a509df72da49cb3b55f4670a
Message:
ggetid simplified

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

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    ra1aae2 rd2c80d  
    523523}
    524524
    525 idhdl ggetid(const char *n, BOOLEAN local)
     525idhdl ggetid(const char *n)
    526526{
    527527  idhdl h = IDROOT->get(n,myynest);
  • Singular/ipid.h

    ra1aae2 rd2c80d  
    8080void  iiname2hdl(const char *name, idhdl *pck, idhdl *id);
    8181idhdl enterid(const char * a, int lev, idtyp t, idhdl* root, BOOLEAN init=TRUE);
    82 idhdl ggetid(const char *n, BOOLEAN local = FALSE);
     82idhdl ggetid(const char *n);
    8383idhdl ggetid(const char *n, BOOLEAN local, idhdl *packhdl);
    8484void  killid(const char * a, idhdl * i);
  • Singular/ipshell.cc

    ra1aae2 rd2c80d  
    51295129  }
    51305130  sleftv v; memset(&v,0,sizeof(v)); v.rtyp=IDEAL_CMD; v.data=(char *) F;
    5131   idhdl h=ggetid("groebner",FALSE);
     5131  idhdl h=ggetid("groebner");
    51325132  sleftv u; memset(&u,0,sizeof(u)); u.rtyp=IDHDL; u.data=(char *) h;
    51335133            u.name=IDID(h);
  • Singular/sdb.cc

    ra1aae2 rd2c80d  
    6161BOOLEAN sdb_set_breakpoint(const char *pp, int given_lineno)
    6262{
    63   idhdl h=ggetid(pp,TRUE);
     63  idhdl h=ggetid(pp);
    6464  if ((h==NULL)||(IDTYP(h)!=PROC_CMD))
    6565  {
     
    276276          p=sdb_find_arg(p);
    277277          Print("variable `%s`",p);
    278           idhdl h=ggetid(p,TRUE);
     278          idhdl h=ggetid(p);
    279279          if (h==NULL)
    280280            PrintS(" not found\n");
Note: See TracChangeset for help on using the changeset viewer.