ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/vector.h
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/vector.h (file contents):
Revision 1.5 by ats, Mon Apr 5 00:58:05 2004 UTC vs.
Revision 1.6 by ats, Mon Apr 5 15:40:15 2004 UTC

# Line 25 | Line 25 | typedef struct {
25          }
26  
27   /* Internal function to resize the vector. */
28 < void *statgrab_vector_resize(void *vector, vector_header *h, int count);
28 > void *sg_vector_resize(void *vector, vector_header *h, int count);
29  
30   /* Declare a vector. Specify the init/destroy functions as NULL if you don't
31   * need them. The block size is how many items to allocate at once. */
# Line 46 | Line 46 | void *statgrab_vector_resize(void *vector, vector_head
46   * out-of-memory, the old contents of the vector will be destroyed and the old
47   * vector will be freed. */
48   #define VECTOR_RESIZE(name, num_items) \
49 <        (name = statgrab_vector_resize((char *) name, &name##_header, num_items), \
49 >        (name = sg_vector_resize((char *) name, &name##_header, num_items), \
50           name##_header.error)
51  
52   /* Free a vector, destroying its contents. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines