projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make "internal variables" part of a dictionary.
[pspp]
/
src
/
data
/
dictionary.h
diff --git
a/src/data/dictionary.h
b/src/data/dictionary.h
index 780d5a9412823d0bbf4ab3993a6d5df07f4af228..0b3c6cd273aae6e8a27357bf0a1a3104963cb0bb 100644
(file)
--- a/
src/data/dictionary.h
+++ b/
src/data/dictionary.h
@@
-154,10
+154,13
@@
struct attrset *dict_get_attributes (const struct dictionary *);
void dict_set_attributes (struct dictionary *, const struct attrset *);
bool dict_has_attributes (const struct dictionary *);
void dict_set_attributes (struct dictionary *, const struct attrset *);
bool dict_has_attributes (const struct dictionary *);
-
+/* Data encoding. */
void dict_set_encoding (struct dictionary *d, const char *enc);
const char *dict_get_encoding (const struct dictionary *d);
void dict_set_encoding (struct dictionary *d, const char *enc);
const char *dict_get_encoding (const struct dictionary *d);
+/* Internal variables. */
+struct variable *dict_create_internal_var (int case_idx, int width);
+void dict_destroy_internal_var (struct variable *);
/* Functions to be called upon dictionary changes. */
struct dict_callbacks
/* Functions to be called upon dictionary changes. */
struct dict_callbacks