Changeset b7b08c in git for Singular/attrib.cc


Ignore:
Timestamp:
Oct 14, 1999, 4:27:35 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
548777d246af408b77296a71c16c980b2cef5b35
Parents:
e960943ba1dcfcb333014a2aee474750e8fafe10
Message:
* us short exponent vectors in divisbility tests
* AllocSizeOf
* garbage collection
* scanner/gmp: allow .0 and 1. input of reals


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

Legend:

Unmodified
Added
Removed
  • Singular/attrib.cc

    re960943 rb7b08c  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: attrib.cc,v 1.15 1999-09-29 10:59:27 obachman Exp $ */
     4/* $Id: attrib.cc,v 1.16 1999-10-14 14:26:57 obachman Exp $ */
    55
    66/*
     
    2323#include "ipshell.h"
    2424#include "attrib.h"
     25#include "mmemory.h"
    2526
    2627void sattr::Print()
     
    3435{
    3536  mmTestP(this,sizeof(sattr));
    36   attr n=(attr)Alloc0(sizeof(sattr));
     37  attr n=(attr)Alloc0SizeOf(sattr);
    3738  n->atyp=atyp;
    3839  if (name!=NULL) n->name=mstrdup(name);
     
    105106  else
    106107  {
    107      h = (attr)Alloc0(sizeof(sattr));
     108     h = (attr)Alloc0SizeOf(sattr);
    108109     h->name = s;
    109110     h->next = this;
     
    213214  } /* end switch: (atyp) */
    214215  data=NULL;
    215   Free((ADDRESS)this,sizeof(sattr));
     216  FreeSizeOf((ADDRESS)this,sattr);
    216217}
    217218
Note: See TracChangeset for help on using the changeset viewer.