Changeset e43dc3 in git for Singular/test.cc


Ignore:
Timestamp:
Nov 22, 2012, 6:07:20 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
cc4cc8090b8cfbbd5f5a0ed65f34ca54c971476f
Parents:
8179468681094498b31a9df090d0e386f97ee401
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-22 18:07:20+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-22 20:43:02+01:00
Message:
Fix due to iiMake_proc

fix: due to the change in return type of iiMake_proc to BOOLEAN
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/test.cc

    r8179468 re43dc3  
    337337  else
    338338  {
    339     leftv res=iiMake_proc(datetime,NULL,NULL);
    340     if (res==NULL) { printf("datetime return an error\n"); errorreported = 0; }
    341     else           printf("datetime returned type %d, >>%s<<\n",res->Typ(),(char *)res->Data());
     339    const BOOLEAN res=iiMake_proc(datetime,NULL,NULL);
     340    if (res)
     341    {
     342      printf("iiMake_proc: datetime return an error\n");
     343      errorreported = 0;
     344    }
     345    else
     346    {
     347      printf("iiMake_proc: datetime returned type %d, >>%s<<\n", iiRETURNEXPR.Typ(), (char *)iiRETURNEXPR.Data());
     348      iiRETURNEXPR.CleanUp(); // calls Init afterwards
     349    }   
    342350  }
    343351
Note: See TracChangeset for help on using the changeset viewer.