Changeset 4308 for trunk/psLib/src/sysUtils
- Timestamp:
- Jun 17, 2005, 1:44:22 PM (21 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 3 edited
-
psErrorCodes.c (modified) (3 diffs)
-
psMemory.h (modified) (2 diffs)
-
psTrace.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psErrorCodes.c
r3682 r4308 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 4-07 20:27:41 $9 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-17 23:44:21 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 29 29 * $2 The error description (rest of the line in psErrorCodes.dat) 30 30 * $n The order of the source line in psErrorCodes.dat (comments excluded) 31 * 31 * 32 32 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End! ANY CHANGES WILL BE OVERWRITTEN. 33 33 */ … … 90 90 static void freeErrorDescription(psErrorDescription* err) 91 91 { 92 psFree( (psPtr)err->description);92 psFree(err->description); 93 93 } 94 94 -
trunk/psLib/src/sysUtils/psMemory.h
r4298 r4308 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-17 2 1:42:02$14 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-17 23:44:21 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 239 239 /// Free memory. psFree sends file and line number to p_psFree. 240 240 #ifndef SWIG 241 #define psFree(ptr) p_psFree(ptr, __FILE__, __LINE__)241 #define psFree(ptr) { p_psFree((psPtr)ptr, __FILE__, __LINE__); *(void**)&ptr = NULL; } 242 242 #endif // ! SWIG 243 243 -
trunk/psLib/src/sysUtils/psTrace.c
r4162 r4308 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-06- 08 23:40:45$11 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-06-17 23:44:21 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 97 97 98 98 p_psMemSetPersistent((psPtr)comp->name,false); 99 psFree( (psPtr)comp->name);99 psFree(comp->name); 100 100 } 101 101
Note:
See TracChangeset
for help on using the changeset viewer.
