Changeset 5edb77 in git for Singular/iparith.cc
- Timestamp:
- Nov 20, 2012, 7:16:16 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- e3b071b7b8022789a70d9aeead7d9b8159679c57
- Parents:
- 8e51caea071beef6e0f3c31472a9553c63c8df6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r8e51ca r5edb77 1557 1557 int typ; 1558 1558 BOOLEAN t=FALSE; 1559 idhdl tmp_proc=NULL; 1559 1560 if ((u->rtyp!=IDHDL)||(u->e!=NULL)) 1560 1561 { 1561 idrec tmp_proc;1562 tmp_proc .id="_auto";1563 tmp_proc .typ=PROC_CMD;1564 tmp_proc .data.pinf=(procinfo *)u->Data();1565 tmp_proc .ref=1;1566 d=u->data; u->data=(void *) &tmp_proc;1562 tmp_proc=(idhdl)omAlloc0(sizeof(idrec)); 1563 tmp_proc->id="_auto"; 1564 tmp_proc->typ=PROC_CMD; 1565 tmp_proc->data.pinf=(procinfo *)u->Data(); 1566 tmp_proc->ref=1; 1567 d=u->data; u->data=(void *)tmp_proc; 1567 1568 e=u->e; u->e=NULL; 1568 1569 t=TRUE; 1569 1570 typ=u->rtyp; u->rtyp=IDHDL; 1570 1571 } 1571 leftvsl;1572 BOOLEAN sl; 1572 1573 if (u->req_packhdl==currPack) 1573 1574 sl = iiMake_proc((idhdl)u->data,NULL,v); … … 1579 1580 u->data=d; 1580 1581 u->e=e; 1581 } 1582 if (sl==NULL) 1583 { 1584 return TRUE; 1585 } 1586 else 1587 { 1588 memcpy(res,&iiRETURNEXPR,sizeof(sleftv)); 1589 } 1582 omFreeSize(tmp_proc,sizeof(idrec)); 1583 } 1584 if (sl) return TRUE; 1585 memcpy(res,&iiRETURNEXPR,sizeof(sleftv)); 1590 1586 iiRETURNEXPR.Init(); 1591 1587 return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.