CASE_INLINE void case_move (struct ccase *, struct ccase *);
CASE_INLINE void case_destroy (struct ccase *);
+void case_resize (struct ccase *, size_t old_cnt, size_t new_cnt);
+void case_swap (struct ccase *, struct ccase *);
+
int case_try_create (struct ccase *, size_t value_cnt);
int case_try_clone (struct ccase *, const struct ccase *);
static inline void
case_to_values (const struct ccase *c, union value *output,
- size_t output_size UNUSED)
+ size_t output_size )
{
memcpy (output, c->case_data->values,
- c->case_data->value_cnt * sizeof *output);
+ output_size * sizeof *output);
}
static inline void