Changeset 367c32 in git for kernel/p_polys.h


Ignore:
Timestamp:
Jun 23, 2010, 7:56:34 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a0372edbdfea84d99acb5f2b7dcceeb4ac1bf891
Parents:
c9eaea8b70d2cc5a19ab2acca23a712e92fb7de6
Message:
remove _pNext,_pIter,_pGetCoeff etc.

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

Legend:

Unmodified
Added
Removed
  • kernel/p_polys.h

    rc9eaea8 r367c32  
    5454 ***************************************************************/
    5555// next
    56 #define pNext(p)            _pNext(p)
    57 #define pIter(p)            _pIter(p)
     56#define pNext(p)            ((p)->next)
     57#define pIter(p)            ((p) = (p)->next)
    5858
    5959// coeff
    60 #define pGetCoeff(p)        _pGetCoeff(p)
     60#define pGetCoeff(p)        ((p)->coef)
    6161// deletes old coeff before setting the new one
    62 #define pSetCoeff0(p,n)     _pSetCoeff0(p,n)
    63 #define p_GetCoeff(p,r)     _pGetCoeff(p)
    64 #define p_SetCoeff0(p,n,r)  _pSetCoeff0(p,n)
     62#define pSetCoeff0(p,n)     (p)->coef=(n)
     63#define p_GetCoeff(p,r)     pGetCoeff(p)
     64#define p_SetCoeff0(p,n,r)  pSetCoeff0(p,n)
    6565// deletes old p->coef and sets new one
    6666PINLINE2 number p_SetCoeff(poly p, number n, ring r);
Note: See TracChangeset for help on using the changeset viewer.