Changeset 726b748 for libcfa/src
- Timestamp:
- Nov 12, 2020, 11:40:42 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 26ceca1, a0ba5e6
- Parents:
- c1076a2f (diff), 9139540 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/stdlib.hfa
rc1076a2f r726b748 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Nov 12 08:12:08 202013 // Update Count : 5 1512 // Last Modified On : Thu Nov 12 20:58:48 2020 13 // Update Count : 520 14 14 // 15 15 … … 101 101 return (T *)pvalloc( sizeof(T) ); // C pvalloc 102 102 } // pvalloc 103 104 void free( T * addr ) {105 free( (void *) addr ); // C free106 } // free107 103 } // distribution 108 104 … … 260 256 static inline forall( dtype T, ttype TT | { void free( TT ); } ) 261 257 void free( T * addr, TT rest ) { 262 free( addr );258 free( ( void *)addr ); // use C free 263 259 free( rest ); 264 260 } // free
Note: See TracChangeset
for help on using the changeset viewer.