Changeset 987
- Timestamp:
- Feb 20, 2007 3:26:55 PM (18 years ago)
- Location:
- pjproject/branches/pjproject-0.5-stable/pjlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjlib/include/pj/array.h
r974 r987 43 43 * @param array the array. 44 44 * @param elem_size the size of the individual element. 45 * @param count the currentnumber of elements in the array.45 * @param count the CURRENT number of elements in the array. 46 46 * @param pos the position where the new element is put. 47 47 * @param value the value to copy to the new element. -
pjproject/branches/pjproject-0.5-stable/pjlib/src/pj/array.c
r974 r987 28 28 const void *value) 29 29 { 30 if (count && pos < count -1) {30 if (count && pos < count) { 31 31 pj_memmove( (char*)array + (pos+1)*elem_size, 32 32 (char*)array + pos*elem_size,
Note: See TracChangeset
for help on using the changeset viewer.