X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdictionary.h;h=29f8d7caa30a7cf858019dad4ec63cc5dcc48afc;hb=fad7434e2db08ed248228e03533b314b8335ef2f;hp=19f466c10458e555edb89794af7a0d1ffc68fe5d;hpb=68af3306969829d17a05cfab5c9d46cb920b7607;p=pspp-builds.git diff --git a/src/data/dictionary.h b/src/data/dictionary.h index 19f466c1..29f8d7ca 100644 --- a/src/data/dictionary.h +++ b/src/data/dictionary.h @@ -51,7 +51,10 @@ void dict_destroy (struct dictionary *); size_t dict_get_var_cnt (const struct dictionary *); struct variable *dict_get_var (const struct dictionary *, size_t idx); -void dict_get_vars (const struct dictionary *, +inline void dict_get_vars (const struct dictionary *, + const struct variable ***vars, size_t *cnt, + unsigned exclude_classes); +void dict_get_vars_mutable (const struct dictionary *, struct variable ***vars, size_t *cnt, unsigned exclude_classes); @@ -110,7 +113,7 @@ void dict_compactor_compact (const struct dict_compactor *, struct ccase *, const struct ccase *); void dict_compactor_destroy (struct dict_compactor *); -struct variable *const *dict_get_split_vars (const struct dictionary *); +const struct variable *const *dict_get_split_vars (const struct dictionary *); size_t dict_get_split_cnt (const struct dictionary *); void dict_set_split_vars (struct dictionary *, struct variable *const *, size_t cnt); @@ -126,6 +129,9 @@ void dict_set_documents (struct dictionary *, const char *); bool dict_create_vector (struct dictionary *, const char *name, struct variable **, size_t cnt); +void dict_create_vector_assert (struct dictionary *, + const char *name, + struct variable **, size_t cnt); const struct vector *dict_get_vector (const struct dictionary *, size_t idx); size_t dict_get_vector_cnt (const struct dictionary *);