X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdynarr.c;h=4167b5b153ab15c85af10ee13bb6a0966e0797f0;hb=35adcaaeafb1fe93eaf00c39b48619e8f188ff3f;hp=74bd399b866e443f3e4700880bd0b433bca43252;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/src/dynarr.c b/src/dynarr.c index 74bd399..4167b5b 100644 --- a/src/dynarr.c +++ b/src/dynarr.c @@ -44,7 +44,7 @@ until the next operation that changes the length of the array. This is a container object. Declare a dynamic array of a specific type as follows: -typdef struct +typedef struct { Dynarr_declare (mytype); } mytype_dynarr; @@ -72,7 +72,7 @@ Use the following functions/macros: The elements should be contiguous in memory, starting at BASE. Dynarr_insert_many(d, base, len, start) - Insert LEN elements to the dynamic arrary starting at position + Insert LEN elements to the dynamic array starting at position START. The elements should be contiguous in memory, starting at BASE. int Dynarr_length(d)