projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented support for very long strings a la spss v13/v14
[pspp-builds.git]
/
src
/
data
/
case.h
diff --git
a/src/data/case.h
b/src/data/case.h
index 6f6abeb50938a67f10c710a3d38ddeea59669c5d..bdb68dc65b55617a463fe0ca6ab10a9892d9327b 100644
(file)
--- a/
src/data/case.h
+++ b/
src/data/case.h
@@
-30,7
+30,7
@@
struct ccase
{
struct case_data *case_data; /* Actual data. */
struct ccase
{
struct case_data *case_data; /* Actual data. */
-#if
GLOBAL_
DEBUGGING
+#if DEBUGGING
struct ccase *this; /* Detects unauthorized move/copy. */
#endif
};
struct ccase *this; /* Detects unauthorized move/copy. */
#endif
};
@@
-43,7
+43,7
@@
struct case_data
union value values[1]; /* Values. */
};
union value values[1]; /* Values. */
};
-#ifdef
GLOBAL_
DEBUGGING
+#ifdef DEBUGGING
#define CASE_INLINE
#else
#define CASE_INLINE static
#define CASE_INLINE
#else
#define CASE_INLINE static
@@
-89,9
+89,9
@@
union value *case_data_all_rw (struct ccase *);
void case_unshare (struct ccase *);
void case_unshare (struct ccase *);
-#ifndef
GLOBAL_
DEBUGGING
+#ifndef DEBUGGING
#include <stdlib.h>
#include <stdlib.h>
-#include
"str.h"
+#include
<libpspp/str.h>
static inline void
case_nullify (struct ccase *c)
static inline void
case_nullify (struct ccase *c)
@@
-183,6
+183,6
@@
case_data_rw (struct ccase *c, size_t idx)
case_unshare (c);
return &c->case_data->values[idx];
}
case_unshare (c);
return &c->case_data->values[idx];
}
-#endif /* !
GLOBAL_
DEBUGGING */
+#endif /* !DEBUGGING */
#endif /* case.h */
#endif /* case.h */