X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdictionary.h;h=d50921201bb8e3d366198997ed223f9134324703;hb=f8c98fa3dd23b6aca3efec62ca4bad36206b934f;hp=fa5d0ddeb8fc355d4f48a28e69b24b5e883f0645;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp diff --git a/src/data/dictionary.h b/src/data/dictionary.h index fa5d0ddeb8..d50921201b 100644 --- a/src/data/dictionary.h +++ b/src/data/dictionary.h @@ -26,7 +26,7 @@ struct string; struct ccase; /* Creating dictionaries. */ -struct dictionary *dict_create (void); +struct dictionary *dict_create (const char *encoding); struct dictionary *dict_clone (const struct dictionary *); @@ -164,7 +164,6 @@ 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); bool dict_id_is_valid (const struct dictionary *, const char *id, @@ -178,7 +177,8 @@ void dict_destroy_internal_var (struct variable *); struct dict_callbacks { void (*var_added) (struct dictionary *, int, void *); - void (*var_deleted) (struct dictionary *, int, int, int, void *); + void (*var_deleted) (struct dictionary *, const struct variable *, + int dict_index, int case_index, void *); void (*var_changed) (struct dictionary *, int, void *); void (*var_resized) (struct dictionary *, int, int, void *); void (*weight_changed) (struct dictionary *, int, void *);