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.2 by ats, Sun Apr 4 21:33:08 2004 UTC vs.
Revision 1.3 by ats, Mon Apr 5 00:20:05 2004 UTC

# Line 22 | Line 22 | typedef struct {
22                  (vector_destroy_function) destroy_fn \
23          }
24  
25 < int statgrab_vector_resize(void **vector, vector_header *h, int count);
25 > int statgrab_vector_resize(char **vector, vector_header *h, int count);
26  
27   /* Declare a vector. Specify the init/destroy functions as NULL if you don't
28   * need them. The block size is how many items to allocate at once. */
# Line 43 | Line 43 | int statgrab_vector_resize(void **vector, vector_heade
43   * out-of-memory, the old contents of the vector will be destroyed and the old
44   * vector will be freed. */
45   #define VECTOR_RESIZE(name, num_items) \
46 <        statgrab_vector_resize((void **) &name, &name##_header, num_items)
46 >        statgrab_vector_resize((char **) &name, &name##_header, num_items)
47  
48   /* Free a vector, destroying its contents. */
49   #define VECTOR_FREE(name) \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines