Changeset 13251
- Timestamp:
- 09/04/12 16:26:49 (13 years ago)
- Location:
- issm/trunk-jpl/src/c/shared/Alloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/shared/Alloc/alloc.cpp ¶
r13248 r13251 27 27 #include "../../classes/objects/objects.h" 28 28 29 void xfree(void* *pv){30 31 if (pv && *pv){32 free(*pv);33 34 *pv=NULL;35 }36 }37 38 29 void xdelete(Matrix<IssmDouble>** pv){ 39 30 -
TabularUnified issm/trunk-jpl/src/c/shared/Alloc/alloc.h ¶
r13248 r13251 7 7 8 8 #include "../../include/include.h" 9 #include "./xNewDelete.h" 9 10 10 11 template <class doubletype> class Matrix; 11 12 template <class doubletype> class Vector; 12 void xfree(void** pvptr);13 13 void xdelete(Matrix<IssmDouble>** pvptr); 14 14 void xdelete(Vector<IssmDouble>** pvptr); 15 16 #include "./xNewDelete.h"17 15 #endif
Note:
See TracChangeset
for help on using the changeset viewer.