projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't append -ansi to AM_CFLAGS for GCC. Using -ansi changes the
[pspp]
/
src
/
dictionary.h
diff --git
a/src/dictionary.h
b/src/dictionary.h
index abe1bb7fb75f55ff440769eb62e59a7bd38298f7..06e190a3db1ab7d3f88074bd75132ba887820f3f 100644
(file)
--- a/
src/dictionary.h
+++ b/
src/dictionary.h
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#ifndef DICTIONARY_H
#define DICTIONARY_H
#ifndef DICTIONARY_H
#define DICTIONARY_H
@@
-39,11
+39,13
@@
void dict_get_vars (const struct dictionary *,
struct variable *dict_create_var (struct dictionary *, const char *,
int width);
struct variable *dict_create_var (struct dictionary *, const char *,
int width);
+
struct variable *dict_create_var_assert (struct dictionary *, const char *,
int width);
struct variable *dict_clone_var (struct dictionary *, const struct variable *,
const char *);
struct variable *dict_create_var_assert (struct dictionary *, const char *,
int width);
struct variable *dict_clone_var (struct dictionary *, const struct variable *,
const char *);
-void dict_rename_var (struct dictionary *, struct variable *, const char *);
+struct variable *dict_clone_var_assert (struct dictionary *,
+ const struct variable *, const char *);
struct variable *dict_lookup_var (const struct dictionary *, const char *);
struct variable *dict_lookup_var_assert (const struct dictionary *,
struct variable *dict_lookup_var (const struct dictionary *, const char *);
struct variable *dict_lookup_var_assert (const struct dictionary *,
@@
-52,8
+54,11
@@
int dict_contains_var (const struct dictionary *, const struct variable *);
void dict_delete_var (struct dictionary *, struct variable *);
void dict_delete_vars (struct dictionary *,
struct variable *const *, size_t count);
void dict_delete_var (struct dictionary *, struct variable *);
void dict_delete_vars (struct dictionary *,
struct variable *const *, size_t count);
+void dict_reorder_var (struct dictionary *d, struct variable *v,
+ size_t new_index);
void dict_reorder_vars (struct dictionary *,
struct variable *const *, size_t count);
void dict_reorder_vars (struct dictionary *,
struct variable *const *, size_t count);
+void dict_rename_var (struct dictionary *, struct variable *, const char *);
int dict_rename_vars (struct dictionary *,
struct variable **, char **new_names,
size_t count, char **err_name);
int dict_rename_vars (struct dictionary *,
struct variable **, char **new_names,
size_t count, char **err_name);
@@
-74,6
+79,8
@@
int dict_get_next_value_idx (const struct dictionary *);
size_t dict_get_case_size (const struct dictionary *);
void dict_compact_values (struct dictionary *);
size_t dict_get_case_size (const struct dictionary *);
void dict_compact_values (struct dictionary *);
+void dict_compact_case (const struct dictionary *,
+ struct ccase *, const struct ccase *);
size_t dict_get_compacted_value_cnt (const struct dictionary *);
int *dict_get_compacted_idx_to_fv (const struct dictionary *);
size_t dict_get_compacted_value_cnt (const struct dictionary *);
int *dict_get_compacted_idx_to_fv (const struct dictionary *);
@@
-98,4
+105,6
@@
const struct vector *dict_lookup_vector (const struct dictionary *,
const char *name);
void dict_clear_vectors (struct dictionary *);
const char *name);
void dict_clear_vectors (struct dictionary *);
+void dict_assign_short_names (struct dictionary *);
+
#endif /* dictionary.h */
#endif /* dictionary.h */