projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented ADD DOCUMENT. Thanks to Ben Pfaff for review.
[pspp-builds.git]
/
src
/
data
/
dictionary.h
diff --git
a/src/data/dictionary.h
b/src/data/dictionary.h
index 19f466c10458e555edb89794af7a0d1ffc68fe5d..29f8d7caa30a7cf858019dad4ec63cc5dcc48afc 100644
(file)
--- 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);
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);
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 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);
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);
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 *);
const struct vector *dict_get_vector (const struct dictionary *,
size_t idx);
size_t dict_get_vector_cnt (const struct dictionary *);