projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrote most of the examine command.
[pspp-builds.git]
/
src
/
casefile.c
diff --git
a/src/casefile.c
b/src/casefile.c
index 6d74e8e286ee3a8451b90db6951fb2f7599789b1..6033427c47354079a2863af36e4c041a52ce3f85 100644
(file)
--- a/
src/casefile.c
+++ b/
src/casefile.c
@@
-90,6
+90,13
@@
struct casereader
struct ccase c; /* Current case. */
};
struct ccase c; /* Current case. */
};
+/* Return the case number of the current case */
+unsigned long
+casereader_cnum(const struct casereader *r)
+{
+ return r->case_idx;
+}
+
/* Doubly linked list of all casefiles. */
static struct casefile *casefiles;
/* Doubly linked list of all casefiles. */
static struct casefile *casefiles;