Changeset 30118 for branches/czw_branch/20101203/psLib/src/sys/psString.c
- Timestamp:
- Dec 20, 2010, 2:30:45 PM (16 years ago)
- Location:
- branches/czw_branch/20101203
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psLib/src/sys/psString.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20101203
- Property svn:mergeinfo changed
-
branches/czw_branch/20101203/psLib/src/sys/psString.c
r19070 r30118 48 48 psString string = p_psAlloc(file, lineno, func, nChar + 1); 49 49 psMemSetDeallocator(string, (psFreeFunc)stringFree); 50 51 return string; 52 } 53 54 55 psString p_psStringRealloc(const char *file, 56 unsigned int lineno, 57 const char *func, 58 psString string, 59 size_t nChar) 60 { 61 if (!string) { 62 string = p_psAlloc(file, lineno, func, nChar + 1); 63 psMemSetDeallocator(string, (psFreeFunc)stringFree); 64 } else { 65 string = p_psRealloc(file, lineno, func, string, nChar + 1); 66 } 50 67 51 68 return string;
Note:
See TracChangeset
for help on using the changeset viewer.
