projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lexer: Fix negative 'n0' and 'n1' in lex_source_contains_macro_call().
[pspp]
/
src
/
output
/
charts
/
boxplot.c
diff --git
a/src/output/charts/boxplot.c
b/src/output/charts/boxplot.c
index 0abb971f44a28909cf7939c3b78b2dc57ede2937..3261d02eba685c252018fcfdafe262376f141f33 100644
(file)
--- a/
src/output/charts/boxplot.c
+++ b/
src/output/charts/boxplot.c
@@
-20,7
+20,7
@@
#include "output/charts/boxplot.h"
#include "math/box-whisker.h"
#include "output/charts/boxplot.h"
#include "math/box-whisker.h"
-#include "output/chart-
item-
provider.h"
+#include "output/chart-provider.h"
struct boxplot *
boxplot_create (double y_min, double y_max, const char *title)
struct boxplot *
boxplot_create (double y_min, double y_max, const char *title)
@@
-28,7
+28,7
@@
boxplot_create (double y_min, double y_max, const char *title)
if (y_min >= y_max)
return NULL;
struct boxplot *boxplot = xmalloc (sizeof *boxplot);
if (y_min >= y_max)
return NULL;
struct boxplot *boxplot = xmalloc (sizeof *boxplot);
- chart_i
tem_init (&boxplot->chart_item
, &boxplot_class, title);
+ chart_i
nit (&boxplot->chart
, &boxplot_class, title);
boxplot->y_min = y_min;
boxplot->y_max = y_max;
boxplot->boxes = NULL;
boxplot->y_min = y_min;
boxplot->y_max = y_max;
boxplot->boxes = NULL;
@@
-57,9
+57,9
@@
boxplot_add_box (struct boxplot *boxplot,
}
static void
}
static void
-boxplot_chart_destroy (struct chart
_item *chart_item
)
+boxplot_chart_destroy (struct chart
*chart
)
{
{
- struct boxplot *boxplot = to_boxplot (chart
_item
);
+ struct boxplot *boxplot = to_boxplot (chart);
if (boxplot == NULL)
return;
if (boxplot == NULL)
return;
@@
-76,7
+76,7
@@
boxplot_chart_destroy (struct chart_item *chart_item)
free (boxplot);
}
free (boxplot);
}
-const struct chart_
item_
class boxplot_class =
+const struct chart_class boxplot_class =
{
boxplot_chart_destroy
};
{
boxplot_chart_destroy
};