X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsubcase.h;h=027a6395420bf90e52999a496e0c0d4cb14f30f9;hb=6953fd7f0ef58595a14548c4262f0e4c65b8939a;hp=f890f2549afa8e8138ace3f92f88300613e2feee;hpb=8fd5e212f39c4dbe6874a2b7cda7498940d87d4f;p=pspp diff --git a/src/data/subcase.h b/src/data/subcase.h index f890f2549a..027a639542 100644 --- a/src/data/subcase.h +++ b/src/data/subcase.h @@ -47,6 +47,7 @@ struct subcase struct caseproto *proto; /* Created lazily. */ }; +#define SUBCASE_EMPTY_INITIALIZER { .fields = NULL } void subcase_init_empty (struct subcase *); void subcase_init_vars (struct subcase *, @@ -58,7 +59,7 @@ void subcase_init (struct subcase *, int index, int width, void subcase_clone (struct subcase *, const struct subcase *); void subcase_clear (struct subcase *); -void subcase_destroy (struct subcase *); +void subcase_uninit (struct subcase *); bool subcase_contains (const struct subcase *, int case_index); bool subcase_contains_var (const struct subcase *, const struct variable *);