#define HEADER_CASE
#include <stddef.h>
-#include "bool.h"
+#include <stdbool.h>
#include "val.h"
/* Opaque structure that represents a case. Use accessor
CASE_INLINE const union value *case_data (const struct ccase *, size_t idx);
CASE_INLINE double case_num (const struct ccase *, size_t idx);
-CASE_INLINE const char *case_str (const struct ccase *, size_t idx);
+CASE_INLINE const unsigned char *case_str (const struct ccase *, size_t idx);
CASE_INLINE union value *case_data_rw (struct ccase *, size_t idx);
return c->case_data->values[idx].f;
}
-static inline const char *
+static inline const unsigned char *
case_str (const struct ccase *c, size_t idx)
{
return c->case_data->values[idx].s;