Changeset b7b08c in git for Singular/subexpr.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/subexpr.cc
re960943 rb7b08c 5 5 * ABSTRACT: handling of leftv 6 6 */ 7 /* $Id: subexpr.cc,v 1.5 3 1999-09-17 11:42:25 SingularExp $ */7 /* $Id: subexpr.cc,v 1.54 1999-10-14 14:27:32 obachman Exp $ */ 8 8 9 9 #include <stdlib.h> … … 331 331 if (cmd->arg2.rtyp!=0) cmd->arg2.CleanUp(); 332 332 if (cmd->arg3.rtyp!=0) cmd->arg3.CleanUp(); 333 Free ((ADDRESS)data,sizeof(ip_command));333 FreeSizeOf((ADDRESS)data,ip_command); 334 334 break; 335 335 } … … 419 419 { 420 420 h=e->next; 421 Free ((ADDRESS)e,sizeof(*e));421 FreeSizeOf((ADDRESS)e,sSubexpr); 422 422 e=h; 423 423 } … … 432 432 next->next=NULL; 433 433 next->CleanUp(); 434 Free ((ADDRESS)next,sizeof(sleftv));434 FreeSizeOf((ADDRESS)next,sleftv); 435 435 next=tmp_n; 436 436 } while (next!=NULL); … … 600 600 if (source->next!=NULL) 601 601 { 602 next=(leftv)Alloc (sizeof(sleftv));602 next=(leftv)AllocSizeOf(sleftv); 603 603 next->Copy(source->next); 604 604 } … … 972 972 } 973 973 return Typ(); 974 } 975 976 void sleftv::SetData(void* what) 977 { 978 if (rtyp == IDHDL) 979 { 980 (void*) IDDATA((idhdl)data) = what; 981 } 982 else 983 { 984 data = what; 985 } 974 986 } 975 987
Note: See TracChangeset
for help on using the changeset viewer.