source: git/libpolys/polys/templates/p_Delete__T.cc @ 014b65

spielwiese
Last change on this file since 014b65 was 014b65, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
- moved misc,reporter,resources,coeffs,polys -> (new) libpolys (Hans agreed) - migrated to automake in coeffs, misc status: everything builds (except polys) todo: . migrate resources and reporter to automake . create autoconf macros for omalloc, factory, and libpolys
  • Property mode set to 100644
File size: 576 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(poly* pp, const ring r)
13{
14  poly p = *pp;
15
16  while (p != NULL)
17  {
18    n_Delete(&(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.