source: git/libpolys/polys/templates/p_Delete__T.cc @ c462b55

fieker-DuValspielwiese
Last change on this file since c462b55 was 38500a, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
- further template fix: added "__T" suffix to _all_ labels (incl. func. names!) - todo: finish p_Numbers.h
  • Property mode set to 100644
File size: 582 bytes
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/***************************************************************
5 *  File:    p_Delete__Template.cc
6 *  Purpose: template for p_Delete
7 *  Author:  obachman (Olaf Bachmann)
8 *  Created: 8/00
9 *  Version: $Id$
10 *******************************************************************/
11
12LINKAGE void p_Delete__T(poly* pp, const ring r)
13{
14  poly p = *pp;
15
16  while (p != NULL)
17  {
18    n_Delete__T(&(p->coef), r);
19    p = p_LmFreeAndNext(p, r);
20  }
21  *pp = NULL;
22}
23
Note: See TracBrowser for help on using the repository browser.