X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcase.h;h=190073973a72ec831ff9e7f4906c65c0592311bb;hb=101250dc9f516758bd9d13f869f1a770d6dd1ca3;hp=45fdf52c9b993f7829885e01f4422fbe32b89f2a;hpb=2c4b104df57f2e8b5ed2afa50819294aaac4aa6c;p=pspp diff --git a/src/data/case.h b/src/data/case.h index 45fdf52c9b..190073973a 100644 --- a/src/data/case.h +++ b/src/data/case.h @@ -67,7 +67,7 @@ struct ccase *case_ref (const struct ccase *) WARN_UNUSED_RESULT; static inline void case_unref (struct ccase *); static inline bool case_is_shared (const struct ccase *); -static inline size_t case_get_value_cnt (const struct ccase *); +static inline size_t case_get_n_values (const struct ccase *); static inline const struct caseproto *case_get_proto (const struct ccase *); size_t case_get_cost (const struct caseproto *); @@ -82,7 +82,7 @@ void case_set_missing (struct ccase *); void case_copy (struct ccase *dst, size_t dst_idx, const struct ccase *src, size_t src_idx, - size_t cnt); + size_t n_values); void case_copy_out (const struct ccase *, size_t start_idx, union value *, size_t n_values); void case_copy_in (struct ccase *, @@ -158,7 +158,7 @@ case_is_shared (const struct ccase *c) /* Returns the number of union values in C. */ static inline size_t -case_get_value_cnt (const struct ccase *c) +case_get_n_values (const struct ccase *c) { return caseproto_get_n_widths (c->proto); }