Change "union value" to dynamically allocate long strings.
[pspp-builds.git] / src / data / vardict.h
index aaf8ba05e6573e9658640b4032402099d5365b87..b4552cf17e014a6a4044b25c129f03e752ff2ce5 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -31,14 +31,16 @@ struct vardict_info
     struct dictionary *dict;  /* The dictionary containing the variable */
   };
 
+/* Called by dictionary code, defined in variable.c. */
 const struct vardict_info *var_get_vardict (const struct variable *);
 void var_set_vardict (struct variable *, const struct vardict_info *);
 bool var_has_vardict (const struct variable *);
 void var_clear_vardict (struct variable *);
 
 
-/* Called only from variable.c, but defined in dictionary.c */
+/* Called by variable.c, defined in dictionary.c. */
 void dict_var_changed (const struct variable *v);
-void dict_var_resized (const struct variable *v, int delta);
+void dict_var_resized (const struct variable *v, int old_width);
+void dict_var_display_width_changed (const struct variable *v);
 
 #endif /* data/vardict.h */