projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recode strings when writing system files.
[pspp-builds.git]
/
src
/
data
/
subcase.h
diff --git
a/src/data/subcase.h
b/src/data/subcase.h
index d50d0748ba86fbe89b64cd93db82f3b0f6a07408..050cf17dcd3477f4b236e7af58c1a1ca1595c036 100644
(file)
--- a/
src/data/subcase.h
+++ b/
src/data/subcase.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
, 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
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
@@
-44,7
+44,8
@@
struct subcase
{
struct subcase_field *fields;
size_t n_fields;
{
struct subcase_field *fields;
size_t n_fields;
- size_t n_values;
+
+ struct caseproto *proto; /* Created lazily. */
};
void subcase_init_empty (struct subcase *);
};
void subcase_init_empty (struct subcase *);
@@
-59,9
+60,10
@@
void subcase_destroy (struct subcase *);
bool subcase_add_var (struct subcase *, const struct variable *,
enum subcase_direction);
bool subcase_add_var (struct subcase *, const struct variable *,
enum subcase_direction);
+const struct caseproto *subcase_get_proto (const struct subcase *);
+
static inline bool subcase_is_empty (const struct subcase *);
static inline size_t subcase_get_n_fields (const struct subcase *);
static inline bool subcase_is_empty (const struct subcase *);
static inline size_t subcase_get_n_fields (const struct subcase *);
-static inline size_t subcase_get_n_values (const struct subcase *);
static inline enum subcase_direction subcase_get_direction (
const struct subcase *, size_t idx);
static inline enum subcase_direction subcase_get_direction (
const struct subcase *, size_t idx);
@@
-110,10
+112,4
@@
subcase_get_n_fields (const struct subcase *sc)
return sc->n_fields;
}
return sc->n_fields;
}
-static inline size_t
-subcase_get_n_values (const struct subcase *sc)
-{
- return sc->n_values;
-}
-
#endif /* data/subcase.h */
#endif /* data/subcase.h */