Changeset 29932 for trunk/psLib/src/sys/psString.h
- Timestamp:
- Dec 5, 2010, 9:25:07 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psString.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psString.h
r15523 r29932 40 40 #define PS_FILE_LINE p_psFileLine(__FILE__,__LINE__) 41 41 42 43 42 /** Allocates a new psString. 44 43 * … … 60 59 #endif // ifdef DOXYGEN 61 60 61 /** Reallocate an existing psString (or alloc if not existent) 62 * 63 * @return psString: string of length n. 64 */ 65 #ifdef DOXYGEN 66 psString psStringRealloc( 67 psString string, 68 size_t nChar ///< Size of psString to allocate. 69 ); 70 #else // ifdef DOXYGEN 71 psString p_psStringRealloc( 72 const char *file, ///< File of caller 73 unsigned int lineno, ///< Line number of caller 74 const char *func, ///< Function name of caller 75 psString string, ///< supplied string or NULL 76 size_t nChar ///< Size of psString to allocate. 77 ) PS_ATTR_MALLOC; 78 #define psStringRealloc(string, nChar) \ 79 p_psStringRealloc(__FILE__, __LINE__, __func__, string, nChar) 80 #endif // ifdef DOXYGEN 62 81 63 82 /** Checks the type of a particular pointer.
Note:
See TracChangeset
for help on using the changeset viewer.
