X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdata%2Fvariable.h;h=2dfe56482b4224b3ad79953a63af6c28ca709d47;hb=1f7e42084393a7b65296e1ac815e1a19184cd56f;hp=3a5015be5dedb6c2a92c98bfa75168e570c0c6fd;hpb=83141cdd4ab281da80d5dfeda05073f0cb354eab;p=pspp-builds.git diff --git a/src/data/variable.h b/src/data/variable.h index 3a5015be..2dfe5648 100644 --- a/src/data/variable.h +++ b/src/data/variable.h @@ -64,7 +64,7 @@ struct variable /* Case information. */ int fv, nv; /* Index into `value's, number of values. */ - bool reinit; /* True: reinitialize; false: leave. */ + bool leave; /* Leave value from case to case? */ /* Data for use by containing dictionary. */ int index; /* Dictionary index. */ @@ -240,4 +240,16 @@ int parse_mixed_vars_pool (struct pool *, const char * var_to_string(const struct variable *var); +/* Two complementary functions for dealing with + Very Long String variables */ + +void copy_demangle (char *dst, size_t dst_size, + const char *src, size_t src_size); + +void copy_mangle (char *dst, size_t dst_size, + const char *src, size_t src_size); + +int width_to_bytes(int width); + + #endif /* !variable.h */