Changeset f8362b in git for Singular


Ignore:
Timestamp:
Feb 4, 2005, 3:33:13 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
ece273bf86ecd2568558896ab9ce46bd773d7998
Parents:
78dd2b3d0b1cc9d2694b5c5b6307a7b7483596c2
Message:
*hannes: proc variables


git-svn-id: file:///usr/local/Singular/svn/trunk@7705 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r78dd2b rf8362b  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.334 2005-02-03 16:41:07 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.335 2005-02-04 14:33:13 Singular Exp $ */
    55
    66/*
     
    14451445static BOOLEAN jjPROC(leftv res, leftv u, leftv v)
    14461446{
     1447  idrec tmp_proc;
     1448  BOOLEAN t=FALSE;
     1449  if (u->rtyp!=IDHDL)
     1450  {
     1451    tmp_proc.id="_auto";
     1452    tmp_proc.typ=IDHDL;
     1453    tmp_proc.data.pinf=(procinfo *)u->data; 
     1454    tmp_proc.ref=1;
     1455    u->data=(void *)&tmp_proc;
     1456    t=TRUE;
     1457  }
    14471458#ifdef HAVE_NS
    14481459  leftv sl;
     
    14541465  leftv sl = iiMake_proc((idhdl)u->data,v);
    14551466#endif /* HAVE_NS */
     1467  if (t)
     1468  {
     1469    u->rtyp=PROC_CMD;
     1470    u->data=(void *)tmp_proc.data.pinf;
     1471  }
    14561472  if (sl==NULL)
    14571473  {
     
    28272843static BOOLEAN jjPROC1(leftv res, leftv u)
    28282844{
    2829   if ((u->rtyp!=IDHDL) || (u->e!=NULL))
    2830     return TRUE;
    2831 #ifdef HAVE_NS
    2832   leftv sl = iiMake_proc((idhdl) u->data,u->req_packhdl,NULL);
    2833 #else /* HAVE_NS */
    2834   leftv sl = iiMake_proc((idhdl) u->data,NULL);
    2835 #endif /* HAVE_NS */
    2836   if (sl==NULL)
    2837   {
    2838     return TRUE;
    2839   }
    2840   else
    2841   {
    2842     memcpy(res,sl,sizeof(sleftv));
    2843   }
    2844   return FALSE;
     2845  return jjPROC(res,u,NULL);
    28452846}
    28462847static BOOLEAN jjBAREISS(leftv res, leftv v)
Note: See TracChangeset for help on using the changeset viewer.