X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.h;h=b586421c8273c78f60be32a3fd32c6ce040a5713;hb=339f1956cc727eda788638644ef93ab7852b31cd;hp=f8fe0888497cc543a8a87e91b8c705ddcfd71cb1;hpb=ff7ae14592cbdbebc4e4322424db95663ea7e166;p=pspp diff --git a/src/data/vector.h b/src/data/vector.h index f8fe088849..b586421c82 100644 --- a/src/data/vector.h +++ b/src/data/vector.h @@ -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);