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 *);
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 *,
/* 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);
}