Functions
p_Delete__T.cc File Reference

Go to the source code of this file.

Functions

LINKAGE void p_Delete__T (poly *pp, const ring r)
 

Function Documentation

◆ p_Delete__T()

LINKAGE void p_Delete__T ( poly pp,
const ring  r 
)

Definition at line 11 of file p_Delete__T.cc.

12 {
13  poly p = *pp;
14 
15  while (p != NULL)
16  {
17  n_Delete__T(&(p->coef), r->cf);
18  p = p_LmFreeAndNext(p, r);
19  }
20  *pp = NULL;
21 }
return P p
Definition: myNF.cc:203
poly pp
Definition: myNF.cc:296
const ring r
Definition: syzextra.cc:208
#define n_Delete__T(n, r)
Definition: p_polys.cc:4752
static poly p_LmFreeAndNext(poly p, ring)
Definition: p_polys.h:698
#define NULL
Definition: omList.c:10
polyrec * poly
Definition: hilb.h:10