Mercurial > hg > xemacs-beta
comparison src/dynarr.c @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | b39c14581166 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
155 } | 155 } |
156 } | 156 } |
157 | 157 |
158 /* Add a number of contiguous elements to the array starting at START. */ | 158 /* Add a number of contiguous elements to the array starting at START. */ |
159 void | 159 void |
160 Dynarr_insert_many (void *d, CONST void *el, int len, int start) | 160 Dynarr_insert_many (void *d, const void *el, int len, int start) |
161 { | 161 { |
162 Dynarr *dy = (Dynarr *) d; | 162 Dynarr *dy = (Dynarr *) d; |
163 | 163 |
164 Dynarr_resize (dy, dy->cur+len); | 164 Dynarr_resize (dy, dy->cur+len); |
165 /* Silently adjust start to be valid. */ | 165 /* Silently adjust start to be valid. */ |