Changeset 10941
- Timestamp:
- Jan 5, 2007, 12:16:48 PM (19 years ago)
- File:
-
- 1 edited
-
branches/jch-memory/psLib/src/sys/psMemory.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jch-memory/psLib/src/sys/psMemory.h
r10940 r10941 14 14 * @ingroup MemoryManagement 15 15 * 16 * @version $Revision: 1.61.2. 8$ $Name: not supported by cvs2svn $17 * @date $Date: 2007-01-05 2 1:26:52$16 * @version $Revision: 1.61.2.9 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2007-01-05 22:16:48 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 139 139 140 140 #else // #ifdef DOXYGEN 141 142 #ifdef __GNUC__ 141 143 psPtr p_psAlloc( 142 144 size_t size, ///< Size required … … 144 146 unsigned int lineno, ///< Line number of caller 145 147 const char *func ///< Function name of caller 146 ); 148 ) __attribute__((malloc)); 149 # else // __GNUC__ 150 psPtr p_psAlloc( 151 size_t size, ///< Size required 152 const char *file, ///< File of caller 153 unsigned int lineno, ///< Line number of caller 154 const char *func ///< Function name of caller 155 ); 156 #endif // __GNUC__ 147 157 148 158 /// Memory allocation. psAlloc sends file and line number to p_psAlloc. … … 338 348 #else // #ifdef DOXYGEN 339 349 350 #ifdef __GNUC__ 340 351 psPtr p_psRealloc( 341 352 psPtr ptr, ///< Pointer to re-allocate … … 344 355 unsigned int lineno, ///< Line number of caller 345 356 const char *func ///< Function name of caller 346 ); 357 ) __attribute__((malloc)); 358 # else // __GNUC__ 359 psPtr p_psRealloc( 360 psPtr ptr, ///< Pointer to re-allocate 361 size_t size, ///< Size required 362 const char *file, ///< File of caller 363 unsigned int lineno, ///< Line number of caller 364 const char *func ///< Function name of caller 365 ); 366 #endif // __GNUC__ 347 367 348 368 /// Memory re-allocation. psRealloc sends file and line number to p_psRealloc.
Note:
See TracChangeset
for help on using the changeset viewer.
