treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp] / src / data / vector.h
index f8fe0888497cc543a8a87e91b8c705ddcfd71cb1..b586421c8273c78f60be32a3fd32c6ce040a5713 100644 (file)
@@ -23,7 +23,7 @@
 struct dictionary;
 
 struct vector *vector_create (const char *name,
-                              struct variable **var, size_t var_cnt);
+                              struct variable **var, size_t n_vars);
 struct vector *vector_clone (const struct vector *old,
                              const struct dictionary *old_dict,
                              const struct dictionary *new_dict);
@@ -32,7 +32,7 @@ void vector_destroy (struct vector *);
 const char *vector_get_name (const struct vector *);
 enum val_type vector_get_type (const struct vector *);
 struct variable *vector_get_var (const struct vector *, size_t idx);
-size_t vector_get_var_cnt (const struct vector *);
+size_t vector_get_n_vars (const struct vector *);
 
 bool vector_is_valid_name (const char *name, bool issue_error);