dictionary: Fix invariant that no split file vars means SPLIT_NONE.
[pspp] / src / data / subcase.h
index f890f2549afa8e8138ace3f92f88300613e2feee..027a6395420bf90e52999a496e0c0d4cb14f30f9 100644 (file)
@@ -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 *);