projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New version of icons for mimetypes supported by PSPP
[pspp]
/
src
/
data
/
settings.c
diff --git
a/src/data/settings.c
b/src/data/settings.c
index 0868a331891c94b24a26a823086ad2e34d98a83e..4c0fde083740ea483852acbaa56e1b53b07dbbb8 100644
(file)
--- a/
src/data/settings.c
+++ b/
src/data/settings.c
@@
-29,7
+29,6
@@
#include "libpspp/integer-format.h"
#include "libpspp/message.h"
#include "libpspp/integer-format.h"
#include "libpspp/message.h"
-#include "gl/error.h"
#include "gl/minmax.h"
#include "gl/xalloc.h"
#include "gl/minmax.h"
#include "gl/xalloc.h"
@@
-105,7
+104,7
@@
static struct settings the_settings = {
true, /* printback */
true, /* mprint */
true, /* printback */
true, /* mprint */
-
1,
/* mxloops */
+
40,
/* mxloops */
64L * 1024 * 1024, /* workspace */
{FMT_F, 8, 2}, /* default_format */
false, /* testing_mode */
64L * 1024 * 1024, /* workspace */
{FMT_F, 8, 2}, /* default_format */
false, /* testing_mode */
@@
-452,7
+451,7
@@
settings_get_workspace_cases (const struct caseproto *proto)
bytes. */
void
bytes. */
void
-settings_set_workspace (
size_t workspace)
+settings_set_workspace (size_t workspace)
{
the_settings.workspace = workspace;
}
{
the_settings.workspace = workspace;
}
@@
-713,3
+712,10
@@
settings_get_var_style (void)
{
return the_settings.var_output_style;
}
{
return the_settings.var_output_style;
}
+
+
+void
+settings_set_var_style (enum settings_var_style s)
+{
+ the_settings.var_output_style = s;
+}