Changeset b7b08c in git for Singular/attrib.cc
- Timestamp:
- Oct 14, 1999, 4:27:35 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 548777d246af408b77296a71c16c980b2cef5b35
- Parents:
- e960943ba1dcfcb333014a2aee474750e8fafe10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/attrib.cc
re960943 rb7b08c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: attrib.cc,v 1.1 5 1999-09-29 10:59:27 obachman Exp $ */4 /* $Id: attrib.cc,v 1.16 1999-10-14 14:26:57 obachman Exp $ */ 5 5 6 6 /* … … 23 23 #include "ipshell.h" 24 24 #include "attrib.h" 25 #include "mmemory.h" 25 26 26 27 void sattr::Print() … … 34 35 { 35 36 mmTestP(this,sizeof(sattr)); 36 attr n=(attr)Alloc0 (sizeof(sattr));37 attr n=(attr)Alloc0SizeOf(sattr); 37 38 n->atyp=atyp; 38 39 if (name!=NULL) n->name=mstrdup(name); … … 105 106 else 106 107 { 107 h = (attr)Alloc0 (sizeof(sattr));108 h = (attr)Alloc0SizeOf(sattr); 108 109 h->name = s; 109 110 h->next = this; … … 213 214 } /* end switch: (atyp) */ 214 215 data=NULL; 215 Free ((ADDRESS)this,sizeof(sattr));216 FreeSizeOf((ADDRESS)this,sattr); 216 217 } 217 218
Note: See TracChangeset
for help on using the changeset viewer.